From 570d72f230ed141abaf43fc7c1c299d4ba84bf0a Mon Sep 17 00:00:00 2001 From: indexzero Date: Tue, 14 Apr 2026 13:12:42 -0400 Subject: [PATCH] fix(release) use Node 24 for OIDC trusted publishing support Node 24 ships with npm 11.x which includes OIDC trusted publishing. Set NODE_AUTH_TOKEN to empty string so the .npmrc template does not interfere with the OIDC token exchange at publish time. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85722b6..bc1df60 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '24' registry-url: 'https://registry.npmjs.org' cache: 'pnpm' @@ -44,3 +44,4 @@ jobs: run: pnpm exec release-it --ci --increment ${{ inputs.increment }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ''