Skip to content

Commit d2c399e

Browse files
committed
provenenance
1 parent e516b79 commit d2c399e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
concurrency: ${{ github.workflow }}
77
jobs:
88
npm-publish:
9+
permissions:
10+
id-token: write
911
runs-on: windows-latest
1012
defaults:
1113
run:
@@ -19,6 +21,6 @@ jobs:
1921
registry-url: https://registry.npmjs.org/
2022
- run: npm ci
2123
- run: npm run build
22-
- run: npm publish
24+
- run: npm publish --provenance
2325
env:
2426
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)