Skip to content

Commit 48a6429

Browse files
phernandezclaude
andcommitted
fix: use OIDC trusted publishing instead of NPM_TOKEN
npm provenance via GitHub OIDC — no secret needed Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8913132 commit 48a6429

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ jobs:
7676
git push origin "${{ steps.bump.outputs.tag }}"
7777
7878
- name: Publish to npm
79-
env:
80-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
81-
run: npm publish --access public
79+
run: npm publish --provenance --access public
8280

8381
- name: Create GitHub release
8482
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)