Skip to content

Commit

Permalink
fix: github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-milad committed Aug 21, 2024
1 parent 854b78f commit e690d99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/app-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ jobs:
- name: Install Dependencies
run: pnpm install

- name: generate prisma
run: pnpm run postinstall

- name: Run Tests
run: pnpm run test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"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",
"postinstall": "prisma generate"
},
"dependencies": {
"@nestjs/bullmq": "^10.2.0",
Expand Down
1 change: 0 additions & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

generator client {
provider = "prisma-client-js"
output = "../node_modules/.prisma/client"
}

datasource db {
Expand Down

0 comments on commit e690d99

Please sign in to comment.