Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
node-version: '20'
registry-url: 'https://registry.npmjs.org'

- name: Update npm for OIDC trusted publishing
run: npm install -g npm@latest
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using npm@latest may introduce instability if future npm versions have breaking changes. Consider pinning to a specific version range (e.g., npm@^11.5.1) to ensure OIDC support while maintaining predictable behavior.

Suggested change
run: npm install -g npm@latest
run: npm install -g npm@^11.5.1

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding an inline comment documenting the minimum required npm version (11.5.1+) to help future maintainers understand the version requirement for OIDC trusted publishing.

Suggested change
run: npm install -g npm@latest
run: npm install -g npm@latest # Ensure npm >= 11.5.1 for OIDC trusted publishing

Copilot uses AI. Check for mistakes.

- name: Install dependencies
run: bun install

Expand Down