Skip to content

Commit

Permalink
test: split workflow testing steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstork committed Jan 1, 2025
1 parent 6b7007c commit 7f7402a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 7f7402a

Please sign in to comment.