From 4e50cf78c3f6d44362da72f3b17f8de4a6b86457 Mon Sep 17 00:00:00 2001 From: preslavmihaylov Date: Mon, 7 Sep 2026 09:54:08 +0300 Subject: [PATCH] ORCA-904: pin pnpm with a packageManager field The repo declares engines.node but never which pnpm, so CI resolved a floating 10.x while contributors used whatever they had globally. pnpm 12 is current and --frozen-lockfile fails on 11+ against lockfileVersion 9. The field replaces the action-setup version input rather than sitting beside it: action-setup documents version as optional when packageManager exists, but not what happens when the two disagree. --- .github/workflows/ci.yml | 2 -- .github/workflows/release.yml | 2 -- package.json | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c25707..5214937 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,6 @@ jobs: steps: - uses: actions/checkout@v6 - uses: pnpm/action-setup@v5 - with: - version: 10 - uses: actions/setup-node@v6 with: node-version: "24" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a11911..59424b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,8 +18,6 @@ jobs: with: persist-credentials: false - uses: pnpm/action-setup@v5 - with: - version: 10 - uses: actions/setup-node@v6 with: node-version: "24" diff --git a/package.json b/package.json index 3eeb3a2..5d64fa1 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "lint": "biome lint .", "check": "biome check --write ." }, + "packageManager": "pnpm@10.34.5", "engines": { "node": ">=24.0.0" },