Skip to content

Commit 26950f2

Browse files
committed
ci: npm provenance
1 parent 85087c2 commit 26950f2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ concurrency:
1010
group: ${{ github.ref }}
1111
cancel-in-progress: true
1212

13+
permissions:
14+
id-token: write
15+
1316
jobs:
1417
build:
1518
name: Build ${{ matrix.build-group }}
@@ -75,7 +78,7 @@ jobs:
7578
with:
7679
node-version: '20'
7780
registry-url: 'https://registry.npmjs.org'
78-
- run: npm publish --access public
81+
- run: npm publish --provenance --access public
7982
env:
8083
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8184

0 commit comments

Comments
 (0)