|
|
|
@ -5,12 +5,15 @@ jobs:
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
node-version: [10, 12, 14]
|
|
|
|
|
node-version: [8, 10, 12, 14]
|
|
|
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
- uses: actions/setup-node@v1
|
|
|
|
|
with:
|
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
|
node-version: 14
|
|
|
|
|
- run: npm install
|
|
|
|
|
- run: npm test
|
|
|
|
|
- uses: actions/setup-node@v1
|
|
|
|
|
with:
|
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
|
- run: node test.js
|
|
|
|
|