Skip to content

Commit

Permalink
Merge pull request #18352 from wojtekmaj/provenance
Browse files Browse the repository at this point in the history
Generate provenance statements on npm publish
  • Loading branch information
timvandermeij authored Jul 1, 2024
2 parents 067ec20 + aaa65bf commit 7114796
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
types: [published]
permissions:
contents: read
id-token: write

jobs:
publish:
Expand Down Expand Up @@ -33,6 +34,6 @@ jobs:
run: npx gulp dist

- name: Publish the `pdfjs-dist` library to NPM
run: npm publish ./build/dist
run: npm publish ./build/dist --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 7114796

Please sign in to comment.