replace Travis with GitHub Actions CI (#24)

* add GitHub Actions CI
* remove Travis
This commit is contained in:
Vladimir Agafonkin 2019-08-21 18:35:36 +03:00 committed by GitHub
parent 65a01d9fe6
commit 264a96bea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 4 deletions

24
.github/workflows/nodejs.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Node CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.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, build, and test
run: |
npm install
npm run build
npm test

View File

@ -1,4 +0,0 @@
language: node_js
node_js:
- "node"
- "6"