github debug

This commit is contained in:
Igor Loskutov
2025-09-04 21:25:01 -04:00
parent 82cc1d26d5
commit 92f5d76d43
3 changed files with 9 additions and 6 deletions

View File

@@ -1,3 +1,6 @@
// 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.CI === "true" || process.env.IS_CI === "true";
export const isCI =
process.env.CI === "true" ||
process.env.IS_CI === "true" ||
process.env.NEXT_PUBLIC_IS_CI === "true";