Skip to content

Commit ea80e99

Browse files
committed
ci: run tests on windows
1 parent 97e24fc commit ea80e99

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ on:
88
jobs:
99
prepare:
1010
name: Prepare
11-
runs-on: ubuntu-latest
11+
runs-on: {{ matrix.os }}
1212
outputs:
1313
YARN_CACHE_DIR: ${{ steps.yarn-cache-dir.outputs.YARN_CACHE_DIR }}
1414
YARN_VERSION: ${{ steps.yarn-version.outputs.YARN_VERSION }}
1515
strategy:
1616
matrix:
1717
node-version: [16.x, 18.x, 20.x]
18+
os: [ubuntu-latest, windows-latest]
1819
steps:
1920
- uses: actions/checkout@v3
2021
- name: Use Node.js ${{ matrix.node-version }}
@@ -98,12 +99,13 @@ jobs:
9899
fi
99100
test:
100101
name: Test
101-
runs-on: ubuntu-latest
102+
runs-on: {{ matrix.os }}
102103
needs:
103104
- prepare
104105
strategy:
105106
matrix:
106107
node-version: [16.x, 18.x, 20.x]
108+
os: [ubuntu-latest, windows-latest]
107109
steps:
108110
- uses: actions/checkout@v3
109111
- name: Use Node.js ${{ matrix.node-version }}

0 commit comments

Comments
 (0)