less edgy config (ci)

This commit is contained in:
Igor Loskutov
2025-09-04 11:45:24 -04:00
parent 8af6bf4998
commit 2811540d9a
3 changed files with 8 additions and 3 deletions

View File

@@ -1,2 +1,3 @@
// next.js tries to run all the lib code during build phase; we don't always want it when e.g. we have connections initialized we don't want to have
export const isBuildPhase = process.env.NEXT_PHASE?.includes("build");
export const isCI = process.env.IS_CI === "true";