From 1514dd2f5d92b363ae5adcad6a3b99faca19c741 Mon Sep 17 00:00:00 2001 From: Juan P Lopez Date: Mon, 21 Oct 2024 04:37:19 -0500 Subject: [PATCH] fix: env variable in consent test --- apps/consent/env.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/consent/env.ts b/apps/consent/env.ts index 2d711e255f..a804abd9fe 100644 --- a/apps/consent/env.ts +++ b/apps/consent/env.ts @@ -5,17 +5,17 @@ export const env = createEnv({ server: { HYDRA_ADMIN_URL: z.string().default("http://localhost:4445"), CORE_AUTH_URL: z.string().default("http://localhost:4455/auth"), + CI: z.boolean().default(false), }, shared: { GRAPHQL_ENDPOINT: z.string().default("http://localhost:4455/graphql"), NODE_ENV: z.string(), - CI: z.boolean().default(false), }, runtimeEnv: { CORE_AUTH_URL: process.env.CORE_AUTH_URL, HYDRA_ADMIN_URL: process.env.HYDRA_ADMIN_URL, GRAPHQL_ENDPOINT: process.env.GRAPHQL_ENDPOINT, NODE_ENV: process.env.NODE_ENV, - CI: process.env.CI, + CI: !!process.env.TILT_HOST, }, })