diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 712831013..004d67b9a 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -11,6 +11,7 @@ env: permissions: contents: write + id-token: write jobs: publish-and-release: @@ -28,7 +29,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 22.x + node-version: 24.x cache: 'pnpm' registry-url: 'https://registry.npmjs.org' @@ -55,7 +56,7 @@ jobs: - name: Publish packages run: pnpm run publish-all env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_CONFIG_PROVENANCE: 'true' - name: Generate changelog id: changelog