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:
commit
7114796430
1 changed files with 2 additions and 1 deletions
3
.github/workflows/publish_release.yml
vendored
3
.github/workflows/publish_release.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue