From 1d02069bff91256233a6989e00d98a9c063ab0b3 Mon Sep 17 00:00:00 2001 From: Paul Winkler Date: Tue, 1 Mar 2022 15:59:45 +0000 Subject: [PATCH] Switch to github actions --- .github/workflows/ci.yaml | 27 +++++++++++++++++++++++++++ .travis.yml | 8 -------- 2 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/ci.yaml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..2514b0c --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,27 @@ +name: Node.js CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [12.x, 14.x, 15.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm ci + - name: Run tests + run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a1ba3f3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: node_js -node_js: - - "10" - - "12" - - "14" -notifications: - email: false -sudo: false