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