Skip to content

chore: remove NPM_TOKEN from release workflow#33

Merged
jkebinger merged 1 commit intomainfrom
remove-npm-token
Nov 20, 2025
Merged

chore: remove NPM_TOKEN from release workflow#33
jkebinger merged 1 commit intomainfrom
remove-npm-token

Conversation

@jkebinger
Copy link
Copy Markdown
Contributor

Summary

  • Removes the NPM_AUTH_TOKEN environment variable from the release workflow
  • Workflow now uses npm trusted publishing (OIDC) authentication exclusively

Context

We've switched to npm's trusted publisher feature, which uses GitHub's OIDC authentication instead of long-lived tokens. The workflow already has the required configuration:

  • id-token: write permission
  • --provenance flag on publish commands

The NPM_TOKEN secret is no longer needed and should be removed from GitHub secrets after this PR is merged.

Benefits

  • Eliminates long-lived token management
  • Reduces risk of token leakage
  • Aligns with npm's 2025 security improvements

🤖 Generated with Claude Code

Switch to npm trusted publishing (OIDC) authentication only.
The workflow already has the required permissions (id-token: write)
and uses --provenance flag, so the NPM_TOKEN secret is no longer needed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@jdwyah jdwyah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@jkebinger jkebinger merged commit 938e3e8 into main Nov 20, 2025
2 checks passed
@jkebinger jkebinger deleted the remove-npm-token branch November 20, 2025 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants