Skip to content

ci: use granular NPM token for publishing#1

Closed
satoshai-dev wants to merge 2 commits intomainfrom
ci/trusted-publishing
Closed

ci: use granular NPM token for publishing#1
satoshai-dev wants to merge 2 commits intomainfrom
ci/trusted-publishing

Conversation

@satoshai-dev
Copy link
Copy Markdown
Owner

@satoshai-dev satoshai-dev commented Feb 25, 2026

Summary

  • No functional change to the workflow — keeps using NPM_TOKEN secret
  • Requires a granular npm access token (with 2FA bypass) set as NPM_TOKEN in repo secrets

🤖 Generated with Claude Code

satoshai-dev and others added 2 commits February 25, 2026 16:05
Drop NPM_TOKEN secret in favor of OIDC-based provenance publishing.
Requires Trusted Publishing to be configured on npmjs.com.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Trusted Publishing with changesets/action doesn't work out of the box.
Use a granular npm token with 2FA bypass instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@satoshai-dev satoshai-dev changed the title ci: switch to npm Trusted Publishing (OIDC) ci: use granular NPM token for publishing Feb 25, 2026
@satoshai-dev
Copy link
Copy Markdown
Owner Author

No-op — workflow already uses NPM_TOKEN. Just needed a granular token in repo secrets.

@satoshai-dev satoshai-dev deleted the ci/trusted-publishing branch February 25, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant