Skip to content

Publish to npm via trusted publishing instead of NPM_TOKEN - #48

Merged
mikelittle merged 2 commits into
mainfrom
remove-npm-token-secret
Sep 9, 2026
Merged

Publish to npm via trusted publishing instead of NPM_TOKEN#48
mikelittle merged 2 commits into
mainfrom
remove-npm-token-secret

Conversation

@mikelittle

@mikelittle mikelittle commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

npm has been connected as a trusted publisher, so auth happens over OIDC and
the NPM_TOKEN repository secret is no longer needed.

Note: also upgrades npm to a version that supports trusted publishing.

🤖 Generated with Claude Code

npm is now configured as a trusted publisher for this repo, so the OIDC exchange replaces the stored token. Upgrades npm to a version that supports trusted publishing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment thread .github/workflows/release.yml Outdated
Comment thread .github/workflows/release.yml Outdated
Comment thread RELEASING.md Outdated
Comment thread .github/workflows/release.yml
…shing setup

registry-url made setup-node@v4 write a dummy auth line that stops the OIDC
exchange, and npm@latest now needs Node >= 22.22.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GW2L1D5GVdMkn4WtRpbtZP

@wisyhambolu wisyhambolu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good

@mikelittle
mikelittle merged commit 0d78bcd into main Sep 9, 2026
1 check passed
@mikelittle
mikelittle deleted the remove-npm-token-secret branch September 9, 2026 17:10
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.

2 participants