diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0b818211e..52f193f1f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,14 +35,6 @@ jobs: if: ${{ github.event_name == 'push' }} run: pnpm exec turbo run build --filter="...[HEAD^1]" --concurrency=4 - - name: ESLint (PR) - if: ${{ github.event_name != 'push' }} - run: pnpm exec turbo run lint --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" --concurrency=4 -- --format=compact - - - name: ESLint (Push) - if: ${{ github.event_name == 'push' }} - run: pnpm exec turbo run lint --filter="...[HEAD^1]" --concurrency=4 -- --format=compact - - name: Tests (PR) if: ${{ github.event_name != 'push' }} run: pnpm exec turbo run test --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" --concurrency=4 @@ -51,6 +43,14 @@ jobs: if: ${{ github.event_name == 'push' }} run: pnpm exec turbo run test --filter="...[HEAD^1]" --concurrency=4 + - name: ESLint (PR) + if: ${{ github.event_name != 'push' }} + run: pnpm exec turbo run lint --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" --concurrency=4 -- --format=compact + + - name: ESLint (Push) + if: ${{ github.event_name == 'push' }} + run: pnpm exec turbo run lint --filter="...[HEAD^1]" --concurrency=4 -- --format=compact + - name: Docs (PR) if: ${{ github.event_name != 'push' }} run: pnpm exec turbo run docs --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" --concurrency=4