Skip to content

Commit e95bc68

Browse files
authored
feat: publish w/ provenance (#46)
1 parent 39bb8a4 commit e95bc68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Publish to NPM
22
on:
33
release:
44
types: [published]
5+
permission:
6+
id-token: write
57

68
jobs:
79
publish:
@@ -23,6 +25,6 @@ jobs:
2325
run: yarn install --network-concurrency 1
2426

2527
- name: Publish (NPM)
26-
run: npm publish --access public
28+
run: npm publish --provenance --access public
2729
env:
2830
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)