From 1877d0ab834ddc852412dd887ae1a0aa5e4f09e4 Mon Sep 17 00:00:00 2001 From: bigopon Date: Sun, 26 Sep 2021 13:58:11 +1000 Subject: [PATCH] chore(ci): replace circleci with github actions --- .circleci/config.yml | 56 -------------------------------------- .github/workflows/main.yml | 15 ++++++++++ 2 files changed, 15 insertions(+), 56 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/main.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index ea6bd8d..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,56 +0,0 @@ -version: 2.1 - -map-1: &filter_only_develop - filters: - branches: - only: develop - -map-2: &filter_only_tag - filters: - branches: - ignore: /.*/ - tags: - only: /^v?[0-9]+(\.[0-9]+)*$/ - -orbs: - v1: aurelia/v1@volatile - -executors: - docker-circleci: - parameters: - node: - type: string - default: "15.4.0" - docker: - - image: "circleci/node:<< parameters.node >>-buster-browsers" - -workflows: - main: - jobs: - - v1/build_test: - use_jspm: false - - v1/build_merge: - <<: *filter_only_develop - use_jspm: false - requires: - - v1/build_test - - v1/npm_publish: - <<: *filter_only_tag - name: npm_publish_dry - args: "--dry-run" - - request_publish_latest: - <<: *filter_only_tag - type: approval - requires: - - npm_publish_dry - - v1/npm_publish: - <<: *filter_only_tag - name: npm_publish - context: Aurelia - requires: - - request_publish_latest - - v1/merge_back: - <<: *filter_only_tag - requires: - - npm_publish - diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9bf4941 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,15 @@ +name: Github Actions +on: [push] +env: + +jobs: + node: + timeout-minutes: 10 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 14 + - run: npm ci + - run: npm test