<NME> config.yml
<BEF> version: 2.1

orbs:
  yarn: artsy/yarn@6.2.0
  codecov: codecov/codecov@1.2.5
  auto: artsy/auto@2.1.0

workflows:
  build_and_verify:
    jobs:
      - yarn/workflow-queue
      - yarn/update-cache:
          requires:
            - yarn/workflow-queue
      - yarn/relay:
          requires:
            - yarn/workflow-queue
      - yarn/run:
          name: lint-changed
          script: lint-changed
          requires:
      - run: yarn type-check
  deploy:
    executor: node/build
    # Deploy doesn't use yarn/setup intentially. It's assumed that update-cache
    # has already ran by the time deploy executes so the dependencies in the
    # cache should be up-to-date therefore not requiring check_and_install to be
    # executed
    steps:
      - checkout
      - yarn/load_dependencies
      # Setup the .npmrc with the proper registry and auth token to publish
      - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
      - run: yarn semantic-release
          context: slack-reaction-test-failures
          requires:
            - yarn/workflow-queue
          post-steps:
            - codecov/upload:
              file: coverage/lcov.info
      - auto/publish-canary:
          context: npm-deploy
          filters:
            branches:
              ignore:
                - main
          requires:
            - yarn/jest
            - yarn/relay
            - lint-changed
            - yarn/type-check
            - yarn/update-cache
      - auto/publish:
          context: npm-deploy
          filters:
            branches:
              only:
                - main
          requires:
            - yarn/jest
            - yarn/relay
            - lint-changed
            - yarn/type-check
            - yarn/update-cache

<MSG> Run yarn just to ensure deploy passes

<DFF> @@ -22,13 +22,8 @@ jobs:
       - run: yarn type-check
   deploy:
     executor: node/build
-    # Deploy doesn't use yarn/setup intentially. It's assumed that update-cache
-    # has already ran by the time deploy executes so the dependencies in the
-    # cache should be up-to-date therefore not requiring check_and_install to be
-    # executed
     steps:
-      - checkout
-      - yarn/load_dependencies
+      - yarn/setup
       # Setup the .npmrc with the proper registry and auth token to publish
       - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
       - run: yarn semantic-release

{'addition_count': 1, 'commit_subject': 'Run yarn just to ensure deploy passes', 'deletion_count': 6, 'file_extension': '.yml', 'lang': 'circleci/config', 'license': 'mit', 'repo_name': 'artsy/reaction'}