Skip to content

Commit de0c325

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 3f5a179 commit de0c325

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
@@ -49,7 +49,6 @@ jobs:
4949
- name: Publish to npm
5050
run: npm publish --provenance --access public
5151
env:
52-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5352

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

0 commit comments

Comments
 (0)