BUILD-10954 Use npm Trusted Publisher for release workflow#666
Conversation
✅ Deploy Preview for echoes-react ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
SummaryThis PR enables OIDC-based npm publishing in the release workflow by adding two configuration parameters to the shared workflow call:
This is a pure configuration change with no workflow logic or permission modifications. The What reviewers should knowWhat to verify:
Prerequisites (per author):
No logic changes here — this is purely enabling an already-configured authentication mechanism. If you're unfamiliar with npm Trusted Publishers, they're GitHub's replacement for permanent npm tokens: GitHub issues short-lived OIDC tokens at release time, eliminating the need to store long-term credentials.
|
|
david-cho-lerat-sonarsource
left a comment
There was a problem hiding this comment.
LGTM





What
Set
useNpmTrustedPublisher: trueandgithubEnvironment: releasein the release workflow to enable OIDC-based npm publishing via npm Trusted Publishers.Why
Part of BUILD-10825 — migrating npm deployments from persistent Vault tokens to short-lived OIDC tokens via GitHub Actions Trusted Publishers.
Pre-requisites already completed:
echoes-reactreleasecreated, restricted to tagsFurther read: https://docs.npmjs.com/trusted-publishers/#supported-cicd-providers