From 81ebf219c3923a515cd591aedd1df8f44b0d5b64 Mon Sep 17 00:00:00 2001 From: Sagar Vora <16315650+sagarvora@users.noreply.github.com> Date: Fri, 20 Jun 2025 12:07:46 +0000 Subject: [PATCH] build: use `--frozen-lockfile` flag to avoid lockfile generation / updation (#33026) --- esbuild/esbuild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esbuild/esbuild.js b/esbuild/esbuild.js index 1c4ffa0ada..f6218d58c7 100644 --- a/esbuild/esbuild.js +++ b/esbuild/esbuild.js @@ -523,7 +523,7 @@ function run_build_command_for_apps(apps) { log( `\nInstalling dependencies for ${chalk.bold(app)} (because node_modules not found)` ); - execSync("yarn install", { encoding: "utf8", stdio: "inherit" }); + execSync("yarn install --frozen-lockfile", { encoding: "utf8", stdio: "inherit" }); } log("\nRunning build command for", chalk.bold(app));