From 417e8e2baff2d1e546fdf68c492fba88205d3fb5 Mon Sep 17 00:00:00 2001 From: Patrick Hulce Date: Thu, 4 Feb 2021 21:06:07 -0600 Subject: [PATCH] chore(ci): migrate to github actions (#86) --- .github/workflows/ci.yml | 19 +++++++++++++++++++ .travis.yml | 6 ------ 2 files changed, 19 insertions(+), 6 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..0114b69 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI +on: + push: + branches: [master] + pull_request: # run on all PRs, not just PRs to a particular branch +jobs: + test: + strategy: + fail-fast: true + matrix: + nodeversion: [8.x, 10.x, 12.x, 14.x] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.nodeversion }} + - run: npm install + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c9045de..0000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: node_js -node_js: - - '8' - - '10' - - '12' - - '14'