Skip to content

Commit 6cad976

Browse files
Anonyfoxclaude
andcommitted
ci: switch npm publish to GitHub OIDC trusted publishing
Remove NODE_AUTH_TOKEN/NPM_TOKEN — id-token: write already grants an OIDC token that npm exchanges for a short-lived publish credential automatically. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 61365f8 commit 6cad976

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050
- name: Publish to npm
5151
run: npm publish --provenance --access public
5252
env:
53-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5453

5554
- name: Create GitHub Release
5655
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)