From 209811896f5212d41d1615a1a530b22e139fafda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20G=C3=A5rdenberg?= Date: Mon, 15 Jun 2020 10:44:19 +0200 Subject: [PATCH] ci: Changing from Circle-CI to GitHub Actions --- .circleci/config.yml | 28 ---------------------------- .github/workflows/ci-workflow.yml | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 28 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/ci-workflow.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 6d08f80..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,28 +0,0 @@ -# Javascript Node CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-javascript/ for more details -# -version: 2 -jobs: - build: - docker: - # specify the version you desire here - - image: circleci/node:10.14.2 - - working_directory: ~/repo - - steps: - - checkout - - # Download and cache dependencies - - restore_cache: - keys: - - deps-{{ checksum "yarn.lock" }} - - - run: yarn --frozen-lockfile - - run: yarn build - - - save_cache: - paths: - - node_modules - key: deps-{{ checksum "yarn.lock" }} diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml new file mode 100644 index 0000000..94ed3bf --- /dev/null +++ b/.github/workflows/ci-workflow.yml @@ -0,0 +1,24 @@ +name: CI +on: + push: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Download source + uses: actions/checkout@v1 + with: + fetch-depth: 1 + submodules: true + lfs: true + - name: Get Node 10.x + uses: actions/setup-node@v1 + with: + node-version: 10.x + - name: Build source files + shell: bash + run: | + yarn --frozen-lockfile + yarn build