diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index fcdb580a..10707c7e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -24,6 +24,8 @@ jobs: publish-npm: needs: build runs-on: ubuntu-latest + permissions: + id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -33,4 +35,4 @@ jobs: - run: npm ci - run: npm publish --provenance --access public env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}