build: use --frozen-lockfile flag to avoid lockfile generation / updation (#33026)

This commit is contained in:
Sagar Vora 2025-06-20 12:07:46 +00:00 committed by GitHub
parent 7bb08e9d07
commit 81ebf219c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -523,7 +523,7 @@ function run_build_command_for_apps(apps) {
log( log(
`\nInstalling dependencies for ${chalk.bold(app)} (because node_modules not found)` `\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)); log("\nRunning build command for", chalk.bold(app));