Skip to content

Commit 3f7dbd1

Browse files
Update publish.yml
1 parent 1f6b20a commit 3f7dbd1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
description: 'Package to publish'
88
required: true
99

10+
permissions:
11+
id-token: write
12+
1013
jobs:
1114
publish:
1215
name: Publish ${{ github.event.inputs.package }}
@@ -38,6 +41,6 @@ jobs:
3841
run: pnpm build
3942

4043
- name: Publish to NPM
41-
run: npm publish --access public
44+
run: npm publish --access public --provenance
4245
env:
4346
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)