Skip to content

fix: install latest npm for trusted publishing#7

Merged
ntatoud merged 2 commits intomainfrom
ntatoud/fix-npm-ci-release
Feb 5, 2026
Merged

fix: install latest npm for trusted publishing#7
ntatoud merged 2 commits intomainfrom
ntatoud/fix-npm-ci-release

Conversation

@ntatoud
Copy link
Owner

@ntatoud ntatoud commented Feb 5, 2026

Summary

  • Install npm@latest globally before publishing — Node 20's bundled npm is too old for OIDC-based trusted publishing
  • Remove NODE_AUTH_TOKEN since trusted publishing handles auth via OIDC

Test plan

  • Verify release workflow publishes react-http-renderer@0.2.0 to npm

🤖 Generated with Claude Code

ntatoud and others added 2 commits February 5, 2026 22:46
…hing

setup-node with registry-url creates .npmrc with an empty NODE_AUTH_TOKEN,
which prevents npm from using OIDC for authentication.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Node 20's bundled npm is too old to support OIDC-based trusted
publishing. Installing npm@latest enables token-free publishing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ntatoud ntatoud merged commit 0047290 into main Feb 5, 2026
1 check passed
@ntatoud ntatoud deleted the ntatoud/fix-npm-ci-release branch February 5, 2026 21:52
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

Comments