feat(nx-cloud): organize workspace caching with improved input/outputs (#10734)

This commit is contained in:
Nathan Walker
2025-04-29 13:25:39 -07:00
committed by GitHub
parent 2ad5daf7f8
commit 61a83a60c9
27 changed files with 2202 additions and 73 deletions

View File

@ -9,21 +9,20 @@ const kill = require('tree-kill');
const path = require('path');
const TIMEOUT_MS = 20 * 60 * 1000; // 20 minutes (is Github CI this slow to boot AVDs?)
const workspaceDir = path.resolve(__dirname, '../..');
const automatedAppPath = path.resolve(__dirname, '../../apps/automated');
const platform = process.argv[2];
const spawned_process = spawn(
"npx",
"ns",
[
"nx",
"debug",
"apps-automated",
platform,
"--no-hmr",
// "--log=trace",
// `--flags="--log=trace"`,
`--timeout=${TIMEOUT_MS}`
],
{
cwd: workspaceDir,
cwd: automatedAppPath,
stdio: ["inherit", "pipe", "pipe"],
}
);