diff --git a/scripts/g14-gitops-render.mjs b/scripts/g14-gitops-render.mjs index 0185aeac..54c01096 100644 --- a/scripts/g14-gitops-render.mjs +++ b/scripts/g14-gitops-render.mjs @@ -132,7 +132,7 @@ NODE`, { name: "codex-api-forwarder-check", commands: [ - "/root/.bun/bin/bun test cmd/hwlab-codex-api-responses-forwarder/main.test.ts" + "node scripts/run-bun.mjs test cmd/hwlab-codex-api-responses-forwarder/main.test.ts" ] } ]); diff --git a/scripts/g14-gitops-render.test.ts b/scripts/g14-gitops-render.test.ts index c54dd30e..f4cee6bb 100644 --- a/scripts/g14-gitops-render.test.ts +++ b/scripts/g14-gitops-render.test.ts @@ -21,7 +21,7 @@ test("v02 render follows TypeScript runtime checks and does not self-patch boots assert.equal(render.status, 0, render.stderr || render.stdout); const pipeline = await readFile(path.join(outDir, "tekton-v02", "pipeline.yaml"), "utf8"); - assert.match(pipeline, /bun test cmd\/hwlab-codex-api-responses-forwarder\/main\.test\.ts/u); + assert.match(pipeline, /node scripts\/run-bun\.mjs test cmd\/hwlab-codex-api-responses-forwarder\/main\.test\.ts/u); assert.doesNotMatch(pipeline, /cmd\/hwlab-codex-api-responses-forwarder\/main\.mjs/u); const reconciler = await readFile(path.join(outDir, "tekton-v02", "control-plane-reconciler.yaml"), "utf8");