Merge pull request #18352 from wojtekmaj/provenance
Generate provenance statements on npm publish
This commit is contained in:
commit
7114796430
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…
x
Reference in New Issue
Block a user