diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 1363c72..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,73 +0,0 @@ -version: "2.1" -orbs: - slack: circleci/slack@4.1 - eb: circleci/aws-elastic-beanstalk@2.0.1 - -executors: - sapi-executor: - docker: - - image: "cimg/node:16.16.0" - resource_class: medium - -aliases: - - &setup - steps: - - checkout - - run: sudo apt-get update - - run: - name: Install deps - command: npm install - - run: - name: Run ci - command: npm ci - - run: - name: Run tests - command: npm test - - &deploy - steps: - - checkout - - run: - name: Publish package - command: npx semantic-release - - slack/notify: - channel: circleci-backend-deploys - event: fail - template: basic_fail_1 - - slack/notify: - channel: circleci-backend-deploys - event: pass - template: success_tagged_deploy_1 - -jobs: - build-and-test: - executor: sapi-executor - <<: *setup - publish-package: - executor: sapi-executor - <<: *deploy - -workflows: - build-and-test-analysis: - jobs: - - build-and-test: - context: - - scratch-analysis - - slack-notifications - when: - not: - equal: [ tsm/circleci-updates, <> ] - - build-and-publish-package: - when: - equal: [ tsm/circleci-updates, << pipeline.git.branch >> ] - jobs: - - build-and-test: - context: - - scratch-analysis - - slack-notifications - - publish-package: - context: - - scratch-analysis - - slack-notifications - requires: - - build-and-test \ No newline at end of file