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