Add GitHub Action test

* Create nodejs.yml

* chore: user npm ci, remove npm run build

* chore: remove .travis.yml

* chore: test on 13.x

* Revert "chore: test on 13.x"

This reverts commit 8cc418698b9bbaf175861ef910cb1022d619625e.

* Simplify config

* Rename workflow to test, as it… tests

Co-authored-by: Vadim Makeev <pepelsbey@gmail.com>
This commit is contained in:
Alexey Avdeev 2020-02-05 20:39:47 +03:00 committed by GitHub
parent 3e7d8486c1
commit 2a23bdacdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 3 deletions

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

@ -0,0 +1,16 @@
name: Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test

View File

@ -1,3 +0,0 @@
language: node_js
node_js:
- "8"