build: streamline local and CI validation

This commit is contained in:
morluto
2026-07-22 16:06:28 +00:00
parent 9d84cad622
commit c08b9a7d6c
22 changed files with 316 additions and 231 deletions
-2
View File
@@ -2,7 +2,6 @@ import { readFile } from "node:fs/promises";
import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";
import { validateBuildCache } from "./build-cache.mjs";
import { ensureGeneratedFile } from "./lib/generated-file.mjs";
const arguments_ = new Set(process.argv.slice(2));
@@ -47,4 +46,3 @@ await ensureGeneratedFile({
check: arguments_.has("--check"),
generateCommand: "npm run metadata:generate",
});
await validateBuildCache(root);