From 7f7402a2138849fdc7013bf923f15e0f76d0fc59 Mon Sep 17 00:00:00 2001 From: Mateusz Bocian Date: Tue, 31 Dec 2024 19:25:33 -0500 Subject: [PATCH] test: split workflow testing steps --- .github/workflows/workflow.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 9e37431266..ab153a10c1 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -187,13 +187,19 @@ jobs: - name: Build workspaces run: npm run build if: ${{ !steps.release-check.outputs.IS_RELEASE }} - - name: Tests - run: npx lerna run test:ci --scope @netlify/build + - name: Types + run: npx lerna run test:ci:types --scope @netlify/build + if: ${{ !steps.release-check.outputs.IS_RELEASE }} + - name: Tests - ava + run: npx lerna run test:ci:ava --scope @netlify/build if: ${{ !steps.release-check.outputs.IS_RELEASE }} env: # split tests across multiple machines CI_NODE_INDEX: ${{ matrix.machine }} CI_NODE_TOTAL: 5 + - name: Tests - vitest + run: npx lerna run test:ci:vitest --scope @netlify/build + if: ${{ !steps.release-check.outputs.IS_RELEASE }} - name: Get test coverage flags id: test-coverage-flags if: ${{ !steps.release-check.outputs.IS_RELEASE }}