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
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:
parent
21fc9f33fb
commit
c16b38522c
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -139,6 +139,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate Prisma Client
|
- name: Generate Prisma Client
|
||||||
run: npm run db:generate
|
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
|
- name: Build application
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user