1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 06:38:07 +02:00

Merge pull request #18352 from wojtekmaj/provenance

Generate provenance statements on npm publish
This commit is contained in:
Tim van der Meij 2024-07-01 17:42:16 +02:00 committed by GitHub
commit 7114796430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,7 @@ on:
types: [published]
permissions:
contents: read
id-token: write
jobs:
publish:
@ -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 }}