From 9fae52f937121c5bf78459f49ba41405f0d39bae Mon Sep 17 00:00:00 2001 From: Myasnikov Daniil Date: Mon, 18 May 2026 17:05:51 +0500 Subject: [PATCH] ci(workflows): pin pnpm version via packageManager field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add `"packageManager": "pnpm@11.1.2"` to the root `package.json`. The `test` workflow added in #5 has been failing on every run with `No pnpm version is specified` — `pnpm/action-setup@v4` requires either a `version:` input on the action or a `packageManager` field in `package.json`. The latter is the preferred declaration because it also pins the version for local developers, not just CI. Pin to pnpm 11 (current latest, stable on Node 20+) rather than 10.x so contributors picking up the project land on a still-supported line. Lockfile format (`lockfileVersion: 9.0`) is unchanged between pnpm 10 and 11, so no lockfile churn is required. Verified locally on pnpm 11.1.2: - `pnpm install --frozen-lockfile` — clean, no lockfile diff - `pnpm typecheck` — all 4 workspaces pass - `pnpm test` — 29/29 passing Signed-off-by: Myasnikov Daniil --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 56a5c38..0033fef 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "cozystack-ui", "private": true, "type": "module", + "packageManager": "pnpm@11.1.2", "scripts": { "dev": "pnpm --filter @cozystack/console dev", "build": "pnpm -r build",