fix(cli): resolve devtools build issues and update third-party notices

This commit is contained in:
Alisa Novikova
2026-02-19 16:23:16 -08:00
parent f1c0a695f8
commit 4a599db2bf
45 changed files with 5353 additions and 2960 deletions
+6
View File
@@ -124,6 +124,12 @@ const LINTERS = {
function runCommand(command, stdio = 'inherit') {
try {
const env = { ...process.env };
// Increase memory limit for all subprocesses (ESLint, etc) to prevent OOM in CI.
if (!env.NODE_OPTIONS || !env.NODE_OPTIONS.includes('max-old-space-size')) {
env.NODE_OPTIONS = `${
env.NODE_OPTIONS || ''
} --max-old-space-size=8192`.trim();
}
const nodeBin = join(process.cwd(), 'node_modules', '.bin');
env.PATH = `${nodeBin}:${TEMP_DIR}/actionlint:${TEMP_DIR}/shellcheck:${PYTHON_VENV_PATH}/bin:${env.PATH}`;
execSync(command, { stdio, env });