Skip to content

Commit

Permalink
[gh-action] add postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
sabovyan committed Nov 21, 2023
1 parent ea717bc commit 8ef83d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ jobs:
- name: Install Dependencies
run: pnpm install

- name: Add Prisma Types
run: pnpm exec prisma generate

- name: Lint Project
run: pnpm lint

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"lint:fix": "next lint --fix",
"typecheck": "tsc --noEmit",
"migrate": "prisma migrate dev",
"studio": "prisma studio"
"studio": "prisma studio",
"postinstall": "pnpm exec prisma generate"
},
"dependencies": {
"@auth/prisma-adapter": "^1.0.6",
Expand Down

0 comments on commit 8ef83d3

Please sign in to comment.