Skip to content

Commit

Permalink
👷 build: add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
anoff committed Aug 24, 2019
1 parent 64deb98 commit 6a7d765
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/node-matrix-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Matrix test

on: [push, pull_request]

jobs:
test:
name: Test on node v${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: [8, 10, 12]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
version: ${{ matrix.node_version }}

- run: npm ci
- run: npm test

0 comments on commit 6a7d765

Please sign in to comment.