Skip to content

Commit

Permalink
Generate Prisma client before linting
Browse files Browse the repository at this point in the history
Otherwise since dependencies are cached schema changes won't be reflected.
  • Loading branch information
codetheweb committed Feb 12, 2022
1 parent da3219d commit fd7810f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
${{ runner.OS }}-
- name: Install dependencies
run: yarn install
- name: Generate Prisma client
run: yarn prisma generate
- name: Run lint
run: yarn lint
- name: Build
Expand Down

0 comments on commit fd7810f

Please sign in to comment.