Skip to content

Commit 4f67cbe

Browse files
committed
chore: add --provenance to allow trusted publishing to npm
1 parent 20d7897 commit 4f67cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Set package version
4747
run: yarn version --new-version "${{ steps.get_version.outputs.VERSION }}" --no-git-tag-version
4848
- name: Publish package
49-
run: npm publish --access public --tag ${{ steps.extract_tag.outputs.NPM_TAG }}
49+
run: npm publish --provenance --access public --tag ${{ steps.extract_tag.outputs.NPM_TAG }}
5050
- name: Push version bump
5151
uses: stefanzweifel/git-auto-commit-action@v4
5252
with:

0 commit comments

Comments
 (0)