Skip to content

Commit af73576

Browse files
committed
Switch to NPM trusted publishing
1 parent f6d6865 commit af73576

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
release:
99
types: [ created ]
1010

11+
# See https://docs.npmjs.com/trusted-publishers#step-2-configure-your-cicd-workflow
12+
permissions:
13+
id-token: write
14+
contents: read
15+
1116
jobs:
1217
build:
1318

@@ -51,5 +56,3 @@ jobs:
5156

5257
- name: Publish release
5358
run: npm publish
54-
env:
55-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)