Skip to content

Remove registry-url to fix OIDC auth#6

Merged
monkeypants merged 1 commit into
masterfrom
fix-trusted-publishing-2
Feb 11, 2026
Merged

Remove registry-url to fix OIDC auth#6
monkeypants merged 1 commit into
masterfrom
fix-trusted-publishing-2

Conversation

@monkeypants
Copy link
Copy Markdown
Owner

Summary

  • Remove registry-url from actions/setup-node in the publish job — it writes an .npmrc that expects NODE_AUTH_TOKEN, preventing npm from falling through to OIDC trusted publishing
  • Also removes the now-unnecessary NODE_AUTH_TOKEN: "" workaround

actions/setup-node with registry-url writes an .npmrc expecting
NODE_AUTH_TOKEN, which prevents npm from falling through to OIDC
authentication. Removing it lets npm auto-detect the OIDC
environment for trusted publishing.
@monkeypants monkeypants merged commit 65a26d5 into master Feb 11, 2026
3 checks passed
@monkeypants monkeypants deleted the fix-trusted-publishing-2 branch February 11, 2026 22:21
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