-
Couldn't load subscription status.
- Fork 6
chore: updates workflow to enable npm trusted publishing #190
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
## Motivation NPM package publishing will be migrated to use Trusted Publishing (via OIDC). ## Changes * Pins node version to 24 * Removes NPM token * Pins external action to commit SHA
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 migrates NPM package publishing from token-based authentication to OIDC-based Trusted Publishing by updating the GitHub Actions workflow configuration.
Key Changes:
- Added OIDC permissions and Node.js 24 requirement for npm 11 support
- Removed NPM_ACCESS_TOKEN usage in favor of OIDC authentication
- Pinned external action to specific commit SHA for security
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Luca Bertelli <[email protected]>
Add NPM_CONFIG_PROVENANCE environment variable for npm publish
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.
Approving, but let's wait for #191 before merging this one
Motivation
NPM package publishing will be migrated to use Trusted Publishing (via OIDC).
Changes
id-tokenpermissions for JWT creationncipollo/release-actionto commit SHA