From c16b38522c14fe1e4f57d22f717abf1820bf66dd Mon Sep 17 00:00:00 2001 From: ilia Date: Fri, 2 Jan 2026 16:15:25 -0500 Subject: [PATCH] chore: Update CI configuration to include DATABASE_URL for Prisma Client generation - Add DATABASE_URL environment variable to ensure Prisma can generate types using the same connection string as the build step --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fad2e5c..9f65d47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,6 +139,9 @@ jobs: - name: Generate Prisma Client run: npm run db:generate + env: + # Use the same connection string we provide to the build step so Prisma can generate types + DATABASE_URL: postgresql://postgres:postgres@localhost:5432/mirrormatch?schema=public - name: Build application run: npm run build