build: switch from travis to github actions for checks (#64)

* build: switch from travis to github actions for checks

* lint: fixing linting error
This commit is contained in:
David Joy
2021-03-30 16:46:08 -04:00
committed by GitHub
parent 01208a9f9a
commit e8a77aa4c7
4 changed files with 35 additions and 14 deletions

21
.github/workflows/validate.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: validate
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 12
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: make validate.ci
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true