mirror of
https://github.com/scratchfoundation/scratch-analysis.git
synced 2025-07-25 13:19:46 -04:00
chore: delete circle config
This commit is contained in:
parent
1b9a9b36c2
commit
0859d89cde
1 changed files with 0 additions and 73 deletions
|
@ -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, <<pipeline.git.branch>> ]
|
||||
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue