Skip to content

Commit eb397d3

Browse files
committed
Migrate from Appveyor to GitHub Actions Windows runners
1 parent 6a9d78a commit eb397d3

File tree

2 files changed

+12
-39
lines changed

2 files changed

+12
-39
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff 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

appveyor.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)