Skip to content

Commit

Permalink
chore: use github ci
Browse files Browse the repository at this point in the history
improves integration with github actions
  • Loading branch information
ghermeto committed Jun 28, 2020
1 parent 75aa689 commit 8b81ceb
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
on:
- push
- pull_request
name: ci
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install node v10
uses: actions/setup-node@v1
with:
node-version: v10.x
- name: install dependencies
run: npm install
- name: check lint
run: make check-lint
test:
name: test
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node-version:
- 10.x
- 12.x
- 14.x
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- name: use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
run: npm install
- name: test
run: make test

0 comments on commit 8b81ceb

Please sign in to comment.