diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index b04b2043714c2..9672c615a4a33 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -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 }}