From 627a7de92ddae7fbc855102b8c75874523692033 Mon Sep 17 00:00:00 2001 From: Toni Ruottu Date: Wed, 20 Apr 2022 15:56:44 +0300 Subject: [PATCH] Migrate from Travis to GitHub Actions --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ .travis.yml | 7 ------- 2 files changed, 24 insertions(+), 7 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..f700bc3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + pull_request: + branches: + - main + +jobs: + check: + runs-on: ubuntu-latest + timeout-minutes: 30 + name: CI + steps: + - uses: actions/checkout@v2 + - name: Setup Node + uses: actions/setup-node@v2 + with: + node-version: '14' + - name: Install Dependencies + run: | + yarn + - name: Run Tests + run: | + yarn ci diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 562036a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js -node_js: - - '10' -before_install: - - yarn -script: - - yarn ci