Skip to content

Commit 719d980

Browse files
authored
Update npmpublish.yml
1 parent cae0c79 commit 719d980

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/npmpublish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Node Publish Package
33
on:
44
release:
55
types: [published]
6+
7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: read
610

711
jobs:
812
build:
@@ -26,5 +30,3 @@ jobs:
2630
registry-url: https://registry.npmjs.org/
2731
- run: npm ci
2832
- run: npm publish
29-
env:
30-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)