From 0feee743d62daf084abe4c28197c40417d10ae49 Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Tue, 27 Jul 2021 15:24:00 +0300 Subject: [PATCH] Switch to github actions --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ .travis.yml | 4 ---- 2 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3f00552 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI + +on: + push: + pull_request: + schedule: + - cron: '0 0 * * 3' + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [ '14' ] + + steps: + - uses: actions/checkout@v2 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - run: npm install + + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 94f3b19..0000000 --- a/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: node_js -node_js: - - 6 -sudo: false