Commit 00f8f13
committed
ci(quality): set DATABASE_CONNECTION_URI so the build gate actually runs
The Check Code Quality job has been red since dd552c7 and never reached its
"Check build" step: Prisma 7's prisma.config.ts resolves datasource.url via
env("DATABASE_CONNECTION_URI"), which throws PrismaConfigEnvError when the
variable is absent, and the runner has no .env (the Dockerfile copies
.env.example, which is why image builds got past this point).
prisma generate never opens a connection, so a syntactically valid URI is
enough. Without this the build gate stays dead and the next dependency bump
breaks develop unnoticed, exactly as this one did.
Also aligns the EvoHub req.params.id cast with the convention used by the
other 30 call sites in src (as string), instead of String().1 parent 7db484e commit 00f8f13
2 files changed
Lines changed: 8 additions & 2 deletions
File tree
- .github/workflows
- src/api/integrations/channel/evohub
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
0 commit comments