From 93fc0b2b7274c5fb8f5e0fa649d81057c19e48de Mon Sep 17 00:00:00 2001 From: peng-huang-ch Date: Wed, 24 Apr 2024 15:14:07 +0800 Subject: [PATCH] ci: add prisma:generate --- .github/workflows/format.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index fcd3d18..661e5c5 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -4,7 +4,7 @@ on: pull_request: branches: '**' push: - branches: [dev, main] + branches: [dev, develop, main] # Cancel in-progress workflow runs on PRs when a new commit is pushed. # Does not cancel any runs on `develop` or `master` branches. @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [18, 20] + node: [18] timeout-minutes: 10 steps: @@ -33,5 +33,7 @@ jobs: run: pnpm install - name: Run Prettier run: pnpm run format:check + - name: Run prisma genarate + run: pnpm run prisma:generate - name: Run test run: pnpm run test