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