Skip to content

Commit

Permalink
(ci) Add github CI workflow (#54)
Browse files Browse the repository at this point in the history
* (ci) Add github CI workflow
* Remove node 8
  • Loading branch information
nitriques authored Nov 7, 2019
1 parent 3c7d74b commit d4d4b6b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
on: [push]
jobs:
build:

runs-on: ${{ matrix.operating-system }}

strategy:
max-parallel: 6
matrix:
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
node-version: [10.x, 12.x]

name: ${{ matrix.operating-system }} - ${{ matrix.node-version }}

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm ci
npm test
env:
CI: true

0 comments on commit d4d4b6b

Please sign in to comment.