Skip to content

Commit 826d02c

Browse files
committed
Update publish script
1 parent 512b8be commit 826d02c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [released]
66

7+
permissions:
8+
id-token: write # Required for OIDC to deploy to npmjs via Trusted Publisher
9+
710
jobs:
811
publish:
912
name: Upload archives
@@ -25,5 +28,3 @@ jobs:
2528

2629
- name: Publish to npm
2730
run: npm publish
28-
env:
29-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)