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.
This commit is contained in:
@@ -23,9 +23,9 @@ jobs:
|
|||||||
node-version: 24
|
node-version: 24
|
||||||
registry-url: 'https://registry.npmjs.org'
|
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
|
- name: Update npm
|
||||||
run: npm install -g npm@latest
|
run: npm install -g npm@11
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
Reference in New Issue
Block a user