Skip to content

Commit 429271c

Browse files
committed
updated publish workflow
1 parent ac78c24 commit 429271c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/npmjs.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Publish to NPM
22
on:
33
release:
44
types: [ published ]
5+
6+
permissions:
7+
id-token: write # Required for OIDC
8+
contents: read
9+
510
jobs:
611
publish:
712
runs-on: ubuntu-latest
@@ -13,4 +18,8 @@ jobs:
1318
uses: actions/setup-node@v6
1419
with:
1520
node-version: 22
21+
registry-url: 'https://registry.npmjs.org'
22+
23+
- name: Publish to NPM
24+
run: npm publish
1625

0 commit comments

Comments
 (0)