github debug

This commit is contained in:
Igor Loskutov
2025-09-04 21:39:45 -04:00
parent 03f2d2a30b
commit 50d4bcc0ac
3 changed files with 24 additions and 20 deletions

View File

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