From 94dffab37b4f11fdb30a1eb40ef3bcb245498e8c Mon Sep 17 00:00:00 2001 From: Aaron Date: Mon, 9 Nov 2020 11:32:17 -0500 Subject: [PATCH] Migrate CI to github actions; also update tested versions to more current releases (#33) --- .github/workflows/node-ci.yml | 23 +++++++++++++++++++++++ .travis.yml | 16 ---------------- 2 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/node-ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml new file mode 100644 index 0000000..936f7ac --- /dev/null +++ b/.github/workflows/node-ci.yml @@ -0,0 +1,23 @@ +name: Node CI +on: [push, pull_request] + +jobs: + node-ci: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8, 10, 12, 14, 15] + + steps: + - uses: actions/checkout@v2 + - name: Set up Node JS ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - name: Linting + run: npm run lint + - name: Testing + run: npm run test + diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2f51696..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: node_js -node_js: - - "6" - - "7" - - "8" - - "9" - - "10" - - "node" -before_install: - - npm install -script: - - npm run lint - - npm run test -cache: - directories: - - $HOME/.npm