Skip to content

Commit 6c76c6b

Browse files
committed
Include a build provenance attestation when publishing to npm.
1 parent 8f3f54c commit 6c76c6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ jobs:
2727
uses: actions/setup-node@v4
2828
with:
2929
node-version-file: '.nvmrc'
30-
cache: npm
3130
registry-url: https://registry.npmjs.org
3231

3332
- name: Install dependencies
3433
run: npm ci
3534

3635
- name: Publish package
37-
run: npm publish --access public
36+
run: npm publish --provenance --access public
3837
env:
3938
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)