From 27966064482477f344ca3f9c448cd4f7bfb2f057 Mon Sep 17 00:00:00 2001 From: Lev Chelyadinov Date: Mon, 17 Jun 2024 09:36:47 +0200 Subject: [PATCH] Separate static checks into a separate job --- .github/workflows/quality.yaml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 9ced410..8d8412f 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -11,6 +11,21 @@ concurrency: cancel-in-progress: true jobs: + static-checks: + name: Static checks + timeout-minutes: 10 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup + uses: ./.github/actions/setup + + - name: Run checks + run: | + turbo run check-formatting lint typecheck + pnpm check-monorepo + quality-checks: name: Quality checks timeout-minutes: 10 @@ -27,10 +42,9 @@ jobs: with: node-version: ${{ matrix.node }} - - name: Run checks + - name: Run tests run: | - turbo run check-formatting lint typecheck test - pnpm check-monorepo + turbo run test - name: Try building run: turbo run build