From e06f4af97dbe091b7285f9cbcf45f4e302f68a37 Mon Sep 17 00:00:00 2001 From: Todd Hainsworth Date: Mon, 31 Mar 2025 12:08:27 +1030 Subject: [PATCH] MI-206: Use -immutable for Yarn installs --- lib/packageManagers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/packageManagers.ts b/lib/packageManagers.ts index 574b9d8..74cccbb 100644 --- a/lib/packageManagers.ts +++ b/lib/packageManagers.ts @@ -7,7 +7,7 @@ type PackageManager = (typeof supportedPackageManagers)[number]; const installCommands: Record = { npm: 'npm ci', pnpm: 'pnpm install --frozen-lockfile', - yarn: 'yarn install --frozen-lockfile', + yarn: 'yarn install --immutable', }; const debugFlags: Record = { npm: '--verbose',