Skip to content

Restore NODE_AUTH_TOKEN for npm publish#18

Merged
ronaldtse merged 1 commit into
mainfrom
fix/release-restore-npm-token
May 11, 2026
Merged

Restore NODE_AUTH_TOKEN for npm publish#18
ronaldtse merged 1 commit into
mainfrom
fix/release-restore-npm-token

Conversation

@ronaldtse
Copy link
Copy Markdown
Member

The NODE_AUTH_TOKEN is required by actions/setup-node with registry-url — it writes .npmrc with a token placeholder. Without it, npm returns E404 on scoped packages. The NPM_TOKEN secret needs to exist in repo settings.

actions/setup-node with registry-url creates .npmrc expecting
NODE_AUTH_TOKEN. Without it, npm returns E404 on scoped packages.
@ronaldtse ronaldtse merged commit 2e91f9b into main May 11, 2026
4 checks passed
@ronaldtse ronaldtse deleted the fix/release-restore-npm-token branch May 11, 2026 03: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