Skip to content

Commit 29a60b8

Browse files
committed
Run tests on all platforms
1 parent 6c7b595 commit 29a60b8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ on:
66
- master
77
jobs:
88
build:
9-
10-
runs-on: ubuntu-latest
9+
runs-on: ${{ matrix.os }}
1110

1211
strategy:
1312
matrix:
14-
node-version: [8.x, 10.x, 12.x]
13+
os: [ubuntu-latest, windows-latest, macos-latest]
1514

1615
steps:
1716
- uses: actions/checkout@v1
18-
- name: Use Node.js ${{ matrix.node-version }}
17+
- name: Use Node.js 12.x
1918
uses: actions/setup-node@v1
2019
with:
21-
node-version: ${{ matrix.node-version }}
20+
node-version: 12.x
2221
- name: npm install, build, and test
2322
run: |
2423
npm install

0 commit comments

Comments
 (0)