diff --git a/.github/workflows/release-npm.yaml b/.github/workflows/release-npm.yaml index 7a8cf331..7df6f118 100644 --- a/.github/workflows/release-npm.yaml +++ b/.github/workflows/release-npm.yaml @@ -23,6 +23,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + id-token: write env: RELEASE_TAG: ${{ github.event.inputs.tag || github.ref_name }} SOURCE_REF: ${{ github.event.inputs.source_ref || github.event.inputs.tag || github.ref_name }} @@ -78,6 +79,4 @@ jobs: fi - name: Publish to NPM - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: bun run scripts/publish.ts