From ab3ce8e36662ba3438f938703cb8b47a90261877 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 11 Jun 2026 02:41:56 -0400 Subject: [PATCH] fix integration tests --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d0dd593..a44fe95 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -82,7 +82,6 @@ integration_tests: NODE_ENV: test before_script: - npm ci - - npm run db:generate # Overwrite the local .env.test so vitest integration config gets CI service hostnames # (the file uses postgres/redis aliases, not localhost) - | @@ -94,8 +93,10 @@ integration_tests: NODE_ENV=test FILE_STORAGE_ROOT=/tmp/rentaldrivego-test-storage EOF - - npm run db:deploy script: + - npm run db:generate + - npm run db:deploy + - npx prisma db push --schema packages/database/prisma/schema.prisma - npm run test:api:integration rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'