Skip to content

fix: add NPM_TOKEN auth for npm publish in CI - #5

Merged
maggit merged 1 commit into
mainfrom
fix/npm-publish-auth
Feb 8, 2026
Merged

fix: add NPM_TOKEN auth for npm publish in CI#5
maggit merged 1 commit into
mainfrom
fix/npm-publish-auth

Conversation

@maggit

@maggit maggit commented Feb 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds NODE_AUTH_TOKEN env var to the publish step in release-npm.yml, referencing the NPM_TOKEN repository secret
  • Fixes 404 / "Access token expired" error during npm publish — the actions/setup-node registry-url config creates an .npmrc expecting NODE_AUTH_TOKEN, but it was never set

Test plan

  • Merge and tag a new version to trigger the release workflow
  • Verify npm publish succeeds in CI

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@maggit
maggit merged commit 4cb7857 into main Feb 8, 2026
1 check passed
@maggit
maggit deleted the fix/npm-publish-auth branch February 12, 2026 04:00
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