Run tests on windows, mac & ubuntu

This commit is contained in:
Dan Mindru 2019-09-03 10:49:22 +02:00 committed by GitHub
parent 558ccc2a9e
commit b316aa6caa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -3,13 +3,14 @@ name: Test template output
on: [push]
jobs:
build:
runs-on: ubuntu-latest
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
@ -17,7 +18,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
- name: npm install & test
run: |
npm install
npm test