ci(e2e): start:e2e server before capturing

This commit is contained in:
d-kimsuon
2025-10-12 23:08:51 +09:00
parent a19d5f627c
commit 314cdcc749
12 changed files with 101 additions and 304 deletions

View File

@@ -39,11 +39,14 @@ export const routes = (app: HonoAppType) => {
const fileWatcher = getFileWatcher();
const eventBus = getEventBus();
fileWatcher.startWatching();
// biome-ignore lint/complexity/useLiteralKeys: env var
if (process.env["NEXT_PHASE"] !== "phase-production-build") {
fileWatcher.startWatching();
setInterval(() => {
eventBus.emit("heartbeat", {});
}, 10 * 1000);
setInterval(() => {
eventBus.emit("heartbeat", {});
}, 10 * 1000);
}
return (
app