fix(ci): add missing env vars for robust CI builds
Add NODE_ENV=test and REDIS_URL so tests run cleanly and Prisma can resolve all required configuration.
This commit is contained in:
1 parent
b926ffa93c
commit
a8d86a10bc
1 file changed
+2
@@ -30,8 +30,10 @@ jobs:
|
||||
git checkout -f "${REF}"
|
||||
|
||||
export SKIP_ENV_VALIDATION=1
|
||||
export NODE_ENV=test
|
||||
export DATABASE_URL="mysql://test:test@localhost:3306/test?charset=utf8mb4"
|
||||
export AUTH_SECRET="ci-test-secret-key-that-is-long-enough"
|
||||
export REDIS_URL="redis://127.0.0.1:6379?connect_timeout=1"
|
||||
export ARGON2_MEMORY_SIZE=1024
|
||||
export ARGON2_ITERATIONS=1
|
||||
export BCRYPT_ROUNDS=4
|
||||
|
||||
Reference in new issue
Block a user