Skip to content

Commit 39cc15b

Browse files
committed
chore: enable npm provenance
1 parent 12ebcea commit 39cc15b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
id-token: write
14+
1115
steps:
1216
- uses: actions/checkout@v3
1317
with:
@@ -32,6 +36,6 @@ jobs:
3236
run: pnpm i
3337

3438
- name: Publish to NPM
35-
run: pnpm -r publish --access public --no-git-checks
39+
run: pnpm -r publish --provenance --access public --no-git-checks
3640
env:
3741
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)