chore: Update CI configuration to include DATABASE_URL for Prisma Client generation
Some checks failed
CI / skip-ci-check (pull_request) Failing after 8m28s
CI / lint-and-type-check (pull_request) Has been skipped
CI / test (pull_request) Has been skipped
CI / build (pull_request) Has been skipped
CI / secret-scanning (pull_request) Has been skipped
CI / dependency-scan (pull_request) Has been skipped
CI / sast-scan (pull_request) Has been skipped
CI / workflow-summary (pull_request) Successful in 1m19s

- Add DATABASE_URL environment variable to ensure Prisma can generate types using the same connection string as the build step
This commit is contained in:
ilia 2026-01-02 16:15:25 -05:00
parent 21fc9f33fb
commit c16b38522c

View File

@ -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