Skip to content

Commit

Permalink
added the right workflow for generating the prisma
Browse files Browse the repository at this point in the history
  • Loading branch information
Kashyap1ankit committed Nov 28, 2024
1 parent 0a734ae commit a19971b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
- name: Installing dependencies
run: npm install

- name: Generating prisma client
run: npm run prod:prisma-client

- name: Fixing the formatting
run: npm run format:fix

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"dev:docker": "concurrently \"npm run prisma:docker \" \" npm run dev\" ",
"format:check": "prettier . --check",
"format:fix": "prettier . --write",
"prepare": "husky"
"prepare": "husky",
"prod:prisma-client": "npx prisma generate"
},
"dependencies": {
"@hookform/resolvers": "^3.9.0",
Expand Down

0 comments on commit a19971b

Please sign in to comment.