diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..31c78b7 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,36 @@ +name: CI + +on: [push, pull_request] + +jobs: + ci: + runs-on: ${{ matrix.os }} + timeout-minutes: 30 + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + name: Run on ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - name: Setup node + uses: actions/setup-node@v2 + with: + node-version: 12 + - name: Build + run: | + npm ci + npm run init + npm run build + - name: Lint + run: | + npm run lint + - name: Test + run: | + npm run test + npm run cypress:ci + npx lerna run ci:test + npx lerna run ci:build diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index aa5c964..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: node_js - -node_js: - - '12' - -install: - - npm ci - -script: - - npm run init - - npm run build - - npm test - - npm run cypress:ci - - npm run lint - - npx lerna run ci:test - - npx lerna run ci:build