github debug

This commit is contained in:
Igor Loskutov
2025-09-04 21:58:06 -04:00
parent 9453ebe356
commit 988586ee42
6 changed files with 6 additions and 47 deletions

View File

@@ -1,7 +1,2 @@
// 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");
// useful for "next build" conditional executions
export const isCI =
process.env.CI === "true" ||
process.env.IS_CI === "true" ||
process.env.NEXT_PUBLIC_IS_CI === "true";