mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 12:19:06 +00:00
ci randomness
This commit is contained in:
6
.github/workflows/test_next_server.yml
vendored
6
.github/workflows/test_next_server.yml
vendored
@@ -43,10 +43,6 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
run: pnpm test
|
||||
env:
|
||||
IS_CI: "true"
|
||||
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
env:
|
||||
IS_CI: "true"
|
||||
run: pnpm build
|
||||
@@ -1,3 +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";
|
||||
export const isCI = process.env.CI === "true" || process.env.IS_CI === "true";
|
||||
|
||||
Reference in New Issue
Block a user