From 4303ba5f2641eedd74f45efb401a68294f6b26fa Mon Sep 17 00:00:00 2001 From: Nicolas Ayral Seydoux Date: Wed, 24 Jun 2026 10:38:04 +0200 Subject: [PATCH] Install latest NPM for staged publishing Ensure npm 11.15.0 or later is installed in the release workflow, as required for staged publishing, and echo the version for diagnostics. Co-Authored-By: Claude Opus 4.8 (1M context) --- .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 e57a2a07..a3d9b013 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,8 +23,9 @@ jobs: node-version-file: ".nvmrc" registry-url: "https://registry.npmjs.org" cache: npm - # Ensure npm 11.5.1 or later for trusted publishing + # Ensure npm 11.15.0 or later for staged publishing - run: npm install -g npm@latest + - run: npm --version - run: npm ci - run: npm stage publish - run: echo "The package has been staged, go to https://www.npmjs.com to publish it."