fix(ci): add prisma generate step to unit-tests job

The unit-tests job was failing because it couldn't find the generated Prisma client.
Added prisma generate step before running unit tests to ensure the client is available.
This commit is contained in:
2026-04-01 14:06:54 -07:00
parent c993852147
commit e921f17d2c
+5
View File
@@ -19,6 +19,11 @@ jobs:
- name: Install dependencies
run: bun install
- name: Generate Prisma client
run: bun x prisma generate
env:
DATABASE_URL: postgresql://user:pass@localhost:5432/dummy
- name: Run unit tests
run: bun test src/__tests__/unit/ src/__tests__/*.test.tsx src/__tests__/auth-simple.test.ts