Skip to content

Commit 69bc7d7

Browse files
committed
Update automated publishing
1 parent 9ab4bdf commit 69bc7d7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/publish.yml

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

7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: read
10+
711
jobs:
812
npm-publish:
913
runs-on: ubuntu-latest
@@ -14,5 +18,3 @@ jobs:
1418
node-version: 20
1519
registry-url: "https://registry.npmjs.org"
1620
- run: npm publish
17-
env:
18-
NODE_AUTH_TOKEN: ${{ secrets.npm-token }}

0 commit comments

Comments
 (0)