Add test workflow

This commit is contained in:
Richard Simpson
2019-09-20 15:13:56 -05:00
committed by GitHub
parent 200002c936
commit cb6639a755

25
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
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