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:
parent
3e7d8486c1
commit
2a23bdacdc
|
@ -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
|
|
@ -1,3 +0,0 @@
|
||||||
language: node_js
|
|
||||||
node_js:
|
|
||||||
- "8"
|
|
Loading…
Reference in New Issue