Skip to content

Commit 984c2b5

Browse files
committed
ci: run check on multiple os
1 parent f35f768 commit 984c2b5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/check.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,20 @@ on:
99

1010
jobs:
1111
check:
12-
runs-on: ubuntu-latest
13-
1412
strategy:
1513
matrix:
16-
node-version: [12.x, 14.x]
14+
os: [ubuntu-latest, windows-latest, macos-latest]
15+
node: [12.x, 14.x]
16+
17+
runs-on: ${{ matrix.os }}
1718

1819
steps:
1920
- uses: actions/checkout@v2
2021

21-
- name: Use Node.js ${{ matrix.node-version }}
22+
- name: Use Node.js ${{ matrix.node }}
2223
uses: actions/setup-node@v1
2324
with:
24-
node-version: ${{ matrix.node-version }}
25+
node-version: ${{ matrix.node }}
2526

2627
- name: Cache dependencies
2728
uses: actions/cache@v2

0 commit comments

Comments
 (0)