diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..89a666f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: build + +on: [push, pull_request] + +env: + FORCE_COLOR: 3 + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 14 + - run: yarn --frozen-lockfile + # - run: yarn prettier-check + - run: yarn tslint + - run: yarn typecheck + - run: yarn build + - run: yarn cover + - run: yarn nyc report --reporter json + - run: 'bash <(curl -s https://codecov.io/bash)' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b22cdb6..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -language: node_js -node_js: '10' -cache: yarn -env: - global: - - FORCE_COLOR=1 -jobs: - include: - - stage: test - script: - - npm run prettier-check - - npm run tslint - - npm run typecheck - - npm run build - - npm run cover - - nyc report --reporter json - - 'bash <(curl -s https://codecov.io/bash)' -stages: - - test -branches: - only: - - master - - /^renovate\//