diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40bb6eb..1de8a3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,7 @@ jobs: if: github.repository == 'sveltejs/eslint-config' permissions: contents: write # to create release (changesets/action) + id-token: write # OpenID Connect token needed for provenance pull-requests: write # to create pull request (changesets/action) name: Release runs-on: ubuntu-latest @@ -25,6 +26,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: + node-version: 24.x cache: pnpm - run: pnpm install --frozen-lockfile @@ -37,4 +39,4 @@ jobs: publish: pnpm release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_CONFIG_PROVENANCE: true