Skip to content

Commit

Permalink
use 4 workers for nodejs tests on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-if committed Oct 25, 2024
1 parent 022b41f commit 412b09c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches:
- '**'
push:
branches:
- master
# branches:
# - master

jobs:
lint:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
run: yarn --non-interactive --frozen-lockfile

- name: Run tests
run: yarn test:coverage --maxWorkers=2 --workerIdleMemoryLimit=2000MB --shard=${{ matrix.shard }}
run: yarn test:coverage --maxWorkers=1 --shard=${{ matrix.shard }}

- name: Check for missing fixtures
run: |
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
run: yarn --non-interactive --frozen-lockfile

- name: Run slow tests & coverage
run: yarn test:slow:coverage --maxWorkers=2 --workerIdleMemoryLimit=2000MB --shard=${{ matrix.shard }}
run: yarn test:slow:coverage --maxWorkers=1 --shard=${{ matrix.shard }}

- name: Check for missing fixtures
run: |
Expand Down

0 comments on commit 412b09c

Please sign in to comment.