Skip to content

Commit

Permalink
Run tests on all platforms via github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
razzeee committed Mar 2, 2020
1 parent ff0a1b4 commit 8a08172
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
name: Node CI
name: Lint and test

on: [push]

jobs:
build:
runs-on: ubuntu-latest

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [8.x, 10.x, 12.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
node-version: [8.16, 10.17, 12.13]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
- name: Lint and test with ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
Expand Down

0 comments on commit 8a08172

Please sign in to comment.