Skip to content

Commit

Permalink
Add CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Demedes committed Aug 13, 2019
1 parent 46f243d commit 6ee95cb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on: [push]

jobs:
test:
name: Test on Node.js ${{ matrix.node_version }}
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [8, 10]

steps:
- uses: actions/checkout@master
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
version: ${{ matrix.node_version }}
- name: npm install, build, and test
run: |
npm install
npm test

0 comments on commit 6ee95cb

Please sign in to comment.