Skip to content

Commit a3dc4fb

Browse files
authored
ci: migrate from using NPM_TOKEN to npm's Trusted Publishers
Add id-token permission for GitHub Actions
1 parent 7dc8fcc commit a3dc4fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
packages: write
5757
contents: write
5858
pull-requests: write
59+
id-token: write
5960
steps:
6061
- uses: actions/checkout@v6
6162
- name: Use Node.js 24.x
@@ -70,5 +71,4 @@ jobs:
7071
run: npx semantic-release@19
7172
env:
7273
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
7474

0 commit comments

Comments
 (0)