Skip to content

Commit 26d73b9

Browse files
celiasclaude
andcommitted
fix: run prisma generate in CI before lint and tsc
The generated/ directory is gitignored, so tsc fails in CI with a missing module error for the Prisma client. Running prisma generate after npm ci produces the generated types before any checks run. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8820021 commit 26d73b9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
node-version: 20
1616
cache: npm
1717
- run: npm ci
18+
- run: npx prisma generate
1819
- run: npm run lint
1920
- run: npm run format:check
2021
- run: npx tsc --noEmit

0 commit comments

Comments
 (0)