Skip to content

Commit 47172de

Browse files
committed
Add more OS and node versions
1 parent 2ed7587 commit 47172de

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
matrix:
15+
os: [ ubuntu-latest, macos-latest, windows-latest ]
16+
node-version: [ '12.x', '14.x', '15.x' ]
1217

1318
steps:
1419
- uses: actions/checkout@v2
1520
- name: Use Node.js ${{ matrix.node-version }}
1621
uses: actions/setup-node@v1
1722
with:
18-
node-version: 15.x
23+
node-version: ${{ matrix.node-version }}
1924

2025
- run: npm ci
2126
- run: npm test

0 commit comments

Comments
 (0)