From 2a23bdacdc386248d5907e3003a27c4dd1b3998c Mon Sep 17 00:00:00 2001 From: Alexey Avdeev Date: Wed, 5 Feb 2020 20:39:47 +0300 Subject: [PATCH] Add GitHub Action test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- .github/workflows/test.yml | 16 ++++++++++++++++ .travis.yml | 3 --- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..95bbd78 --- /dev/null +++ b/.github/workflows/test.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index efb0983..0000000 --- a/.travis.yml +++ /dev/null @@ -1,3 +0,0 @@ -language: node_js -node_js: - - "8"