Skip to content

Switch publish workflow to npm Trusted Publishers - #18

Merged
lfbittencourt merged 1 commit into
mainfrom
fix-publish-trusted-publishers
Mar 28, 2026
Merged

lfbittencourt merged 1 commit into
mainfrom
fix-publish-trusted-publishers

Conversation

@lfbittencourt

Copy link
Copy Markdown
Owner

Summary

  • Replace token-based auth (NPM_TOKEN) with OIDC-based Trusted Publishers
  • Add id-token: write permission for OIDC authentication
  • Use npm publish --provenance instead of yarn publish (yarn doesn't support --provenance)

Context

The v1.5.0 publish failed because NPM_TOKEN was never set. Trusted Publishers removes the need for a static token entirely.

🤖 Generated with Claude Code

Replace token-based auth with OIDC provenance, removing the need for
an NPM_TOKEN secret. Use npm publish instead of yarn publish since
yarn does not support --provenance.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lfbittencourt
lfbittencourt merged commit 8a7aa52 into main Mar 28, 2026
1 check passed
@lfbittencourt
lfbittencourt deleted the fix-publish-trusted-publishers branch March 28, 2026 00:40
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