From ca6c3ecd691eac9b086e61b6806ebb637daff0a1 Mon Sep 17 00:00:00 2001 From: Hector Rosales Date: Mon, 16 Nov 2020 06:29:32 -0600 Subject: [PATCH] chore: migrate to GitHub Actions (#95) * chore: add GitHub Actions lint pipeline * chore: configure build matrix to run tests on multiple platforms * chore: delete travis ci config file Co-authored-by: jamesgeorge007 --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ .travis.yml | 8 -------- 2 files changed, 25 insertions(+), 8 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..6c2a522 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI +on: + push: + pull_request: + branches: + - master + - next + workflow_dispatch: +jobs: + job: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] + node: ['12', '13', '14'] + steps: + - uses: actions/checkout@v2 + - name: Setup node + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: Install packages + run: npm ci + - name: Run e2e tests + run: npm run test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bbe4b71..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: node_js -os: - - linux - - osx -node_js: - - 14 - - 13 - - 12