You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch publish workflow to npm Trusted Publishing (OIDC)
The package is now established on npmjs.org with a Trusted Publisher
binding to this workflow. Drops the NPM_TOKEN dependency:
- Removed NODE_AUTH_TOKEN env var from publish / publish-dry-run steps
- Removed always-auth: true from setup-node (no static token to auth with)
- Added 'npm install --global npm@latest' step — Node 22 LTS ships with
npm 10.9.x and Trusted Publishing needs >= 11.5.1
- Updated README publishing instructions accordingly
The id-token: write permission and --provenance flag stay; together they
let npm exchange the workflow OIDC token for a short-lived publish
credential and attach a sigstore provenance attestation to the artifact.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments