Skip to content

Commit

Permalink
ci: generate prisma types before formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stayradiated committed Jul 21, 2023
1 parent e1e0a9a commit 30532d5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,17 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Generate DB Types
run: pnpm exec prisma generate

- name: Check Code Formatting
run: pnpm run tidy:check
run: pnpm exec xo

- name: Typescript
run: pnpm run build
run: pnpm exec tsc

- name: Migrate Database
run: pnpm run prisma db push
run: pnpm exec prisma db push

- name: Tests
run: pnpm exec vitest --watch=false

0 comments on commit 30532d5

Please sign in to comment.