Skip to content

Commit cd7e2e2

Browse files
author
Alex Filippov
committed
fix: generate prisma client in ci typecheck
1 parent 32e82f3 commit cd7e2e2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
typecheck:
99
runs-on: ubuntu-latest
10+
env:
11+
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/playwright_testing
1012

1113
steps:
1214
- uses: actions/checkout@v4
@@ -17,5 +19,6 @@ jobs:
1719
cache: npm
1820

1921
- run: npm ci
22+
- run: npm exec -w backend prisma generate
2023
- run: npm exec -w backend tsc -- --noEmit -p tsconfig.json
2124
- run: npm exec -w frontend tsc -- --noEmit -p tsconfig.json

0 commit comments

Comments
 (0)