Skip to content

Commit c97d6d1

Browse files
authored
ci: add provenance statement to released artifacts (#1081)
## This PR - add provenance statement to released artifacts ### Notes Snippet from the NPM docs: > You can generate provenance statements for the packages you publish. This allows you to publicly establish where a package was built and who published a package, which can increase supply-chain security for your packages. It also adds a cool badge in NPM 😎 ### Resources - https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow Signed-off-by: Michael Beemer <[email protected]>
1 parent 1ba149d commit c97d6d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ jobs:
7474
- name: Publish to NPM
7575
env:
7676
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
77+
# https://docs.npmjs.com/generating-provenance-statements
78+
NPM_CONFIG_PROVENANCE: true
7779
run: npm run publish-all
7880

7981
- name: Build Docs

0 commit comments

Comments
 (0)