Skip to content

Commit

Permalink
ci: prisma generate script
Browse files Browse the repository at this point in the history
  • Loading branch information
fieztazica committed May 14, 2024
1 parent 95e627e commit 1eb5a1a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ jobs:
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: API/Generate Prisma Client
run: pnpm run prisma generate
- name: Turbo build
run: pnpm run build
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ jobs:
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: API/Generate Prisma Client
run: pnpm run prisma generate
- name: Test API with Jest
run: pnpm --filter=api run test
4 changes: 3 additions & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
"test:e2e": "jest --config ./test/jest-e2e.json",
"zenstack": "zenstack",
"prisma": "prisma"
},
"dependencies": {
"@nestjs/common": "^10.0.0",
Expand Down

0 comments on commit 1eb5a1a

Please sign in to comment.