From 4c76a5f1d26d8197eb3ed9e467031681fbaf8fa3 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Thu, 9 Jul 2026 23:49:17 -0700 Subject: [PATCH] fix(ci): pin release workflow to npm 11 (#609) npm@latest now resolves to npm 12, whose install-time security defaults break the release pipeline. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 617ce6d..27da6b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,9 +23,9 @@ jobs: node-version: 24 registry-url: 'https://registry.npmjs.org' - # Ensure npm 11.5.1 or later is installed + # Stay on the latest npm 11 release - name: Update npm - run: npm install -g npm@latest + run: npm install -g npm@11 - name: Install dependencies run: npm ci