<commit_before>version: 2
jobs:
  build:
    working_directory: /home/circleci/my-company
    docker:
      - image: circleci/node:6-browsers
    steps:
      - checkout

      - restore_cache:
          key: my-company-angular-fe2-{{ checksum "package.json" }}

      - run:
          name: install-dependencies
          command: yarn install

      - save_cache:
          key: my-company-angular-fe2-{{ checksum "package.json" }}
          paths:
            - ~/.cache/yarn
            - /home/circleci/my-company/node_modules

       - run:
          name: angular-clean-dist
          command: rm -rf dist

      - run:
          name: angular-build
          command: yarn ng build --prod --aot

      - run:
          name: angular-clean-dist
          command: |
            cd dist
            touch Staticfile

      - run:
          name: angular-test
          command: yarn test -- --single-run --no-progress

      - store_artifacts:<commit_msg>Adding 'staging deployment' job to CircleCI workflow<commit_after>version: 2
jobs:
  build:
    working_directory: /home/circleci/my-company
    docker:
      - image: circleci/node:6-browsers
    steps:
      - checkout

      - restore_cache:
          key: my-company-angular-fe2-{{ checksum "package.json" }}

      - run:
          name: install-dependencies
          command: yarn install

      - save_cache:
          key: my-company-angular-fe2-{{ checksum "package.json" }}
          paths:
            - ~/.cache/yarn
            - /home/circleci/my-company/node_modules

      - run:
          name: angular-clean-dist
          command: rm -rf dist

      - run:
          name: angular-build
          command: yarn ng build --prod --aot

      - run:
          name: angular-clean-dist
          command: |
            cd dist
            touch Staticfile

      - run:
          name: angular-test
          command: yarn test -- --single-run --no-progress

      - store_artifacts:
{'fraction_non_alphanumeric': 0.10510204081632653, 'fraction_numerical': 0.004081632653061225, 'mean_word_length': 1.4635678391959799, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1415860', 'n_tokens_mistral': 595, 'n_tokens_neox': 558, 'n_words': 131}