fix ci typecheck bun path
Some checks failed
CI / Validate (push) Failing after 20s

This commit is contained in:
dirtydishes 2026-05-30 01:35:08 -04:00
parent 7607571c80
commit c80d88bc5f
2 changed files with 3 additions and 1 deletions

View file

@ -33,12 +33,13 @@ if (tsconfigs.length === 0) {
}
let failed = false;
const bunExecutable = process.execPath;
for (const tsconfig of tsconfigs) {
const label = relative(process.cwd(), tsconfig);
console.log(`\nTypechecking ${label}`);
const result = Bun.spawnSync(["bunx", "tsc", "-p", tsconfig, "--noEmit", "--incremental", "false", "--pretty", "false"], {
const result = Bun.spawnSync([bunExecutable, "x", "tsc", "-p", tsconfig, "--noEmit", "--incremental", "false", "--pretty", "false"], {
stdout: "inherit",
stderr: "inherit"
});