Skip to content

Commit d07ace6

Browse files
authored
1 parent 8e3bb62 commit d07ace6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- v*.*.*
77

8+
permissions:
9+
id-token: write
10+
811
jobs:
912
publish:
1013
runs-on: ubuntu-latest
@@ -28,7 +31,7 @@ jobs:
2831
run: yarn build
2932

3033
- name: Publish to NPM
31-
run: yarn npm publish
34+
run: npm publish --provenance
3235
env:
3336
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3437
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)