From fd3630d73943a60f24f821cd7e6ddd9a84a8f026 Mon Sep 17 00:00:00 2001 From: TJ Kandala Date: Fri, 17 Sep 2021 16:27:39 -0400 Subject: [PATCH 1/2] ci: migrate to gh actions --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..f4d9e8e7 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: build + +on: [push, pull_request] + +env: + FORCE_COLOR: 3 + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: '14.7.0' + - run: yarn --frozen-lockfile + - run: yarn prettier-check + - run: yarn typecheck + - run: yarn eslint + - run: yarn build + - run: yarn arn test -- --single-run --browsers ChromeHeadlessNoSandbox + - run: 'bash <(curl -s https://codecov.io/bash)' + - name: release + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + run: yarn run semantic-release From 46ef5d131723fcafed2902a3da93450e0fa2d3f9 Mon Sep 17 00:00:00 2001 From: TJ Kandala Date: Fri, 17 Sep 2021 16:28:41 -0400 Subject: [PATCH 2/2] ci: delete travis.yml --- .travis.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f6dad0a1..00000000 --- a/.travis.yml +++ /dev/null @@ -1,31 +0,0 @@ -language: node_js -node_js: '13' -cache: - yarn: true -env: - global: - - FORCE_COLOR=1 -install: - - yarn --frozen-lockfile -jobs: - include: - - stage: test - script: - - yarn run prettier-check - - yarn run typecheck - - yarn run eslint - - yarn run build - - yarn test -- --single-run --browsers ChromeHeadlessNoSandbox - - bash <(curl -s https://codecov.io/bash) - - stage: release - script: - - yarn run build - - yarn run semantic-release -stages: - - test - - name: release - if: branch = master AND type = push AND fork = false -branches: - only: - - master - - /^renovate\//