ci: trim gateway watch build profile

This commit is contained in:
Peter Steinberger
2026-04-22 18:11:48 +01:00
parent 024592fb1d
commit 2afad03931
4 changed files with 12 additions and 3 deletions

View File

@@ -116,6 +116,7 @@ export const BUILD_ALL_PROFILES = {
"write-cli-startup-metadata",
"write-cli-compat",
],
gatewayWatch: ["tsdown", "runtime-postbuild", "build-stamp"],
};
export function resolveBuildAllSteps(profile = "full") {

View File

@@ -583,9 +583,9 @@ async function main() {
const options = parseArgs(process.argv.slice(2));
ensureDir(options.outputDir);
if (!options.skipBuild) {
runCheckedCommand("pnpm", ["build:ci-artifacts"]);
runCheckedCommand("node", ["scripts/build-all.mjs", "gatewayWatch"]);
// The watch harness must start from a completed dist/runtime baseline.
// Refresh the build stamp after the CI artifact build finishes so run-node
// Refresh the build stamp after the gateway build finishes so run-node
// does not spuriously rebuild inside the bounded watch window.
writeBuildStamp({ cwd: process.cwd() });
}