message: gergo/downScaleCiWorkers
  * ci(circleci): downscale worker resource_class config
  The bigger workers do not give a significant advantage and they cost ton more.
  * ci(circleci): halt step execution for a cleaner downstream cancelation
  * ci(circleci): trying conditional setup
  * ci(circleci): conditional trigger build steps
  * ci(circleci): add conditional step to publish
diff: @@ -249,7 +249,7 @@ jobs:
  type: string
  docker:
  - image: speckle/pre-commit-runner:latest
  - resource_class: large
  + resource_class: medium
  working_directory: *work-dir
  steps:
  - checkout
  @@ -360,14 +360,18 @@ jobs:
  docker-build: &build-job
  docker: &docker-image
  - image: cimg/node:16.15
  - resource_class: xlarge
  + resource_class: medium
  working_directory: *work-dir
  steps:
  - - checkout
  - attach_workspace:
  at: /tmp/ci/workspace
  - run: cat workspace/env-vars >> $BASH_ENV
  - run: cat workspace/should-build >> $BASH_ENV
  + - when:
  + condition:
  + equal: [true, '${SHOULD_BUILD}']
  + steps:
  + - checkout
  - setup_remote_docker:
  # a weird issue with yarn installing packages throwing EPERM errors
  # this fixes it
  @@ -424,11 +428,15 @@ jobs:
  resource_class: medium
  working_directory: *work-dir
  steps:
  - - checkout
  - attach_workspace:
  at: /tmp/ci/workspace
  - run: cat workspace/env-vars >> $BASH_ENV
  - run: cat workspace/should-publish >> $BASH_ENV
  + - when:
  + condition:
  + equal: [true, '${SHOULD_PUBLISH}']
  + steps:
  + - checkout
  - setup_remote_docker:
  # a weird issue with yarn installing packages throwing EPERM errors
  # this fixes it
  