File tree Expand file tree Collapse file tree 2 files changed +12
-39
lines changed
Expand file tree Collapse file tree 2 files changed +12
-39
lines changed Original file line number Diff line number Diff line change @@ -22,26 +22,36 @@ jobs:
2222 run : yarn lint
2323
2424 tests :
25- runs-on : ubuntu-latest
25+ runs-on : ${{ matrix.os }}
26+ strategy :
27+ matrix :
28+ os : [ubuntu-latest, windows-latest]
2629 steps :
2730 - name : Checkout code
2831 uses : actions/checkout@v5
2932
3033 - name : Setup Node.js and install dependencies
3134 uses : ./.github/actions/setup-node-and-install
3235
36+ - name : Display versions
37+ run : yarn versions
38+
3339 - name : Run tests
3440 # We use workerIdleMemoryLimit to work around a memory issue with node.
3541 # See https://github.com/facebook/jest/issues/11956
3642 run : yarn test --coverage --logHeapUsage -w=4 --workerIdleMemoryLimit=1.5G
3743
3844 - name : Upload coverage to Codecov
45+ if : matrix.os == 'ubuntu-latest'
3946 uses : codecov/codecov-action@v5
4047 with :
4148 fail_ci_if_error : false
4249
4350 build-prod :
44- runs-on : ubuntu-latest
51+ runs-on : ${{ matrix.os }}
52+ strategy :
53+ matrix :
54+ os : [ubuntu-latest, windows-latest]
4555 steps :
4656 - name : Checkout code
4757 uses : actions/checkout@v5
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments