Skip to content

Commit 975c7c6

Browse files
unknownclaude
andcommitted
Switch release workflow to npm Trusted Publishing (no token needed)
Remove NPM_TOKEN secret dependency. npm authenticates via OIDC token from GitHub Actions automatically via the trusted publisher connection. More secure — no long-lived tokens stored in secrets. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 85b8942 commit 975c7c6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ jobs:
3838

3939
- name: Publish to npm
4040
run: npm publish --provenance --access public
41-
env:
42-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4341

4442
- name: Create GitHub Release
4543
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)