fix: pin pnpm version in CircleCI node orb install step (#14999)
CI runs were failing because the CircleCI Node orb's pnpm auto-install step matches the wrong "version" field in pnpm's package.json, producing an invalid install command since pnpm 11.12.0. Ref: https://github.com/CircleCI-Public/node-orb/issues/262 ### What changed - Pinned `pnpm-version: 10.2.0` (matching `packageManager` in `package.json`) on all three `node/install-pnpm` steps in `.circleci/config.yml`, bypassing the orb's broken version auto-detection.
This commit is contained in:
@@ -77,7 +77,8 @@ jobs:
|
|||||||
|
|
||||||
- node/install:
|
- node/install:
|
||||||
node-version: '24.13'
|
node-version: '24.13'
|
||||||
- node/install-pnpm
|
- node/install-pnpm:
|
||||||
|
version: '10.2.0'
|
||||||
- node/install-packages:
|
- node/install-packages:
|
||||||
pkg-manager: pnpm
|
pkg-manager: pnpm
|
||||||
override-ci-command: pnpm i
|
override-ci-command: pnpm i
|
||||||
@@ -118,7 +119,8 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- node/install:
|
- node/install:
|
||||||
node-version: '24.13'
|
node-version: '24.13'
|
||||||
- node/install-pnpm
|
- node/install-pnpm:
|
||||||
|
version: '10.2.0'
|
||||||
- node/install-packages:
|
- node/install-packages:
|
||||||
pkg-manager: pnpm
|
pkg-manager: pnpm
|
||||||
override-ci-command: pnpm i
|
override-ci-command: pnpm i
|
||||||
@@ -149,7 +151,8 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- node/install:
|
- node/install:
|
||||||
node-version: '24.13'
|
node-version: '24.13'
|
||||||
- node/install-pnpm
|
- node/install-pnpm:
|
||||||
|
version: '10.2.0'
|
||||||
- node/install-packages:
|
- node/install-packages:
|
||||||
pkg-manager: pnpm
|
pkg-manager: pnpm
|
||||||
override-ci-command: pnpm i
|
override-ci-command: pnpm i
|
||||||
|
|||||||
Reference in New Issue
Block a user