diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3e2c26b..18e5afc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,8 @@ jobs: publish: needs: "build" runs-on: ubuntu-latest + permissions: + id-token: write steps: - name: Checkout @@ -29,6 +31,6 @@ jobs: run: npm run build - name: Publish to npm - run: npm publish --access public + run: npm publish --access public --provenance env: NODE_AUTH_TOKEN: ${{ secrets.npm_token }}