Skip to content

Commit 0abcc8f

Browse files
committed
Update to trusted publishing using OIDC auth
1 parent 5fe351c commit 0abcc8f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/node-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
release:
66
types: [published]
77

8+
permissions:
9+
id-token: write
10+
contents: read
11+
812
jobs:
913
build:
1014
runs-on: ubuntu-latest
@@ -22,6 +26,4 @@ jobs:
2226
- run: yarn build
2327
- run: yarn bundle
2428
- run: yarn publish
25-
env:
26-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2729
...

0 commit comments

Comments
 (0)