Skip to content

Commit 95416d0

Browse files
authored
chore(repo): add --provenance to publishes (#29)
this commit re-adds package provenance to the publish-npm action. we previously removed this while the repo was private (as --provenance is not supported for private repos). once the repo is public again, we'd like all packages to have provenance enabled. STENCIL-1206
1 parent 6f0c4e4 commit 95416d0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/actions/publish-npm/action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ runs:
5959
env:
6060
NPM_TOKEN: ${{ inputs.token }}
6161

62-
# TODO(STENCIL-1206): Add --provenance flag to the command after we've made the repo public
63-
# https://github.blog/changelog/2023-07-26-publishing-with-npm-provenance-from-private-source-repositories-is-no-longer-supported/
6462
- name: Publish to NPM
65-
run: npm publish --tag ${{ inputs.tag }}
63+
run: npm publish --tag ${{ inputs.tag }} --provenance
6664
shell: bash

0 commit comments

Comments
 (0)