From 65e3d32fd489401ddab198139f90f4025a6837ea Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Tue, 24 Nov 2026 11:06:19 -0500 Subject: [PATCH] Run lint and tests in GitHub Actions CircleCI and Travis no longer run for this repo. The workflow keeps their setup: Node 12 and yarn. Co-Authored-By: Claude Opus 5.5 --- .circleci/config.yml | 20 -------------------- .github/workflows/ci.yml | 36 ++++++++++++++++++++++++++++++++++++ .travis.yml | 30 ------------------------------ 3 files changed, 36 insertions(+), 50 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index cb9c942f..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,20 +0,0 @@ -version: 2 -jobs: - build: - working_directory: ~/emberobserver/client - docker: - - image: circleci/node:12-browsers - steps: - - checkout - - restore_cache: - key: v1-yarn-{{ checksum "yarn.lock" }} - - run: yarn - - save_cache: - key: v1-yarn-{{ checksum "yarn.lock" }} - paths: - - node_modules - - ~/.cache/yarn - - run: yarn lint:hbs - - run: yarn lint:js - - run: JOBS=1 COVERAGE=true yarn test - - run: bash <(curl -s https://codecov.io/bash) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..7713ad3b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,36 @@ +name: CI + +on: + push: + branches: + - master + pull_request: {} + +concurrency: + group: ci-${{ github.head_ref || github.ref }} + cancel-in-progress: true + +jobs: + lint: + name: Lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 + with: + node-version: 12 + cache: yarn + - run: yarn install --frozen-lockfile + - run: yarn lint + + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 + with: + node-version: 12 + cache: yarn + - run: yarn install --frozen-lockfile + - run: yarn test:ember diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d27b4022..00000000 --- a/.travis.yml +++ /dev/null @@ -1,30 +0,0 @@ ---- -language: node_js -node_js: - - "10" - -dist: xenial - -addons: - chrome: stable - -cache: - directories: - - $HOME/.npm - -env: - global: - # See https://git.io/vdao3 for details. - - JOBS=1 - -branches: - only: - - master - -before_install: - - curl -o- -L https://yarnpkg.com/install.sh | bash - - export PATH=$HOME/.yarn/bin:$PATH - -script: - - - - yarn test