From f2340c855f4edf0dc5edd1400907a66542fcbce5 Mon Sep 17 00:00:00 2001 From: Lhwhatever Date: Sat, 27 May 2023 23:27:08 -0400 Subject: [PATCH] Add db-validate and db-generate commands to lint.yml --- .github/workflows/lint.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7dcd904..2e55855 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,6 +10,14 @@ jobs: working-directory: . run: npm i shell: bash + - name: Validate schema + working-directory: . + run: npm run db-validate + shell: bash + - name: Generate prisma client + working-directory: . + run: npm run db-generate + shell: bash - name: Check TypeScript (Frontend) working-directory: ./frontend run: npx tsc --noEmit