mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +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]
|
types: [published]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
|
@ -33,6 +34,6 @@ jobs:
|
||||||
run: npx gulp dist
|
run: npx gulp dist
|
||||||
|
|
||||||
- name: Publish the `pdfjs-dist` library to NPM
|
- name: Publish the `pdfjs-dist` library to NPM
|
||||||
run: npm publish ./build/dist
|
run: npm publish ./build/dist --provenance
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue