diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3263cf..979c950 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + id-token: write # npm trusted publishing (OIDC) + provenance steps: - uses: actions/checkout@v7 with: @@ -51,7 +52,6 @@ jobs: if: ${{ success() && github.ref == 'refs/heads/main' && github.event_name == 'push' }} run: pnpm release:ci env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_CONFIG_REGISTRY: https://registry.npmjs.org/ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}