Skip to content

Commit 7832772

Browse files
authored
ci: npm provenance (#25)
1 parent a931e8b commit 7832772

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 }}
@@ -78,7 +81,7 @@ jobs:
7881
with:
7982
node-version: '20'
8083
registry-url: 'https://registry.npmjs.org'
81-
- run: npm publish --access public
84+
- run: npm publish --provenance --access public
8285
env:
8386
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8487

0 commit comments

Comments
 (0)