Skip to content

Switch to trusted publishing via OIDC - #16

Merged
rom1504 merged 1 commit into
masterfrom
trusted-publishing
Mar 28, 2026
Merged

Switch to trusted publishing via OIDC#16
rom1504 merged 1 commit into
masterfrom
trusted-publishing

Conversation

@rom1504

@rom1504 rom1504 commented Mar 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Add id-token: write permission for OIDC trusted publishing
  • Use Node 24 (ships npm 11.11.0, trusted publishing requires >=11.5.1)
  • Add registry-url for OIDC auth flow
  • Upgrade JS-DevTools/npm-publish from v1 to v4
  • Remove NPM_AUTH_TOKEN (no longer needed with trusted publishers)

Trusted publisher already configured on npmjs.com for this package.

🤖 Generated with Claude Code

- Add id-token: write permission for OIDC trusted publishing
- Use Node 24 (ships npm 11.11.0, trusted publishing requires >=11.5.1)
- Add registry-url for OIDC auth flow
- Upgrade JS-DevTools/npm-publish from v1 to v4
- Remove NPM_AUTH_TOKEN (no longer needed)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rom1504
rom1504 merged commit 6080ed6 into master Mar 28, 2026
1 check passed
u9g added a commit that referenced this pull request Aug 27, 2026
…20)

#16 switched to trusted publishing but left node-version at 14.0.0, which
ships npm 6 and cannot authenticate via OIDC. Every publish since has
failed with a 404 on PUT (1.5.0 was the first version bump to hit it).
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