-
Notifications
You must be signed in to change notification settings - Fork 468
Switch to trusted publishing #1368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 'next', | ||
| 'next-major', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 4fb0eb9:
|
5c0da41 to
1fedb70
Compare
| uses: cycjimmy/semantic-release-action@v5 | ||
| with: | ||
| semantic_version: 17 | ||
| semantic_version: 25 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| - name: 🚀 Release | ||
| uses: cycjimmy/semantic-release-action@v2 | ||
| uses: cycjimmy/semantic-release-action@v5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only breaking changes are bumping used node version from 16 to 24
1fedb70 to
4976d92
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR switches from using npm authentication tokens to npm's trusted publishing feature (OIDC-based authentication) for automated package releases. This improves security by eliminating the need to store long-lived NPM_TOKEN secrets.
Key changes:
- Added OIDC authentication support via
id-token: writepermission - Updated semantic-release action from v2 to v5 and semantic-release from version 17 to 25
- Removed
nextandnext-majorbranches from release configuration
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4976d92 to
4fb0eb9
Compare
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: 18 | ||
| node-version: 24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So that we get newer NPM versions. Had to do the same to fix it for my own packages: eps1lon/codemod-missing-await-act@2619b41

Followed https://docs.npmjs.com/trusted-publishers