From ec2a50dad3ce051ee106eb03fddd44c19ee41216 Mon Sep 17 00:00:00 2001 From: Simon Holmes Date: Fri, 1 May 2026 10:18:13 +0100 Subject: [PATCH] ci: bump release workflow to Node 24 Node 22's bundled npm 10 fails to self-upgrade to npm@latest with "Cannot find module 'promise-retry'" during the in-place install, breaking the Release workflow. Node 24 ships with npm 11.x which supports OIDC trusted publishing natively, so the upgrade step is no longer needed. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/release.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 270ff7f..75e67d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,13 +28,10 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 cache: 'pnpm' registry-url: 'https://registry.npmjs.org' - - name: Upgrade npm for trusted publishing support - run: npm install -g npm@latest - - name: Install dependencies run: pnpm install