From bf92ee8558309b023e7cb6550e42f12be06c64c4 Mon Sep 17 00:00:00 2001 From: Shaan Majid <70789625+shaanmajid@users.noreply.github.com> Date: Sun, 24 May 2026 02:52:59 -0700 Subject: [PATCH] fix(ci): pin npm to 11.15.0 so `npm stage publish` works --- .github/workflows/npm-test-publish.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/npm-test-publish.yaml b/.github/workflows/npm-test-publish.yaml index 8f23ebb..f250b19 100644 --- a/.github/workflows/npm-test-publish.yaml +++ b/.github/workflows/npm-test-publish.yaml @@ -45,6 +45,9 @@ jobs: node-version: 24 registry-url: https://registry.npmjs.org/ package-manager-cache: false + # npm stage publish requires npm >= 11.15.0, newer than the npm bundled with Node 24. + # Remove this step once setup-node's default Node ships npm >= 11.15.0. + - run: npm install -g npm@11.15.0 - run: npm ci - run: npm run build --if-present - run: npm stage publish