<commit_before>version: 2

workflows:
  version: 2
  test:
    jobs:
      - test-node-8
      - test-node-9
      - release:
          requires:
            - test-node-8
            - test-node-9
jobs:
  test-node-8:
    docker:
      - image: circleci/node:8
    working_directory: ~/repo
    steps:
      - checkout
      - restore_cache:
          key: dependencies-{{ checksum "yarn.lock" }}
      - run: yarn install
      - save_cache:
          paths:
            - node_modules
          key: dependencies-{{ checksum "yarn.lock" }}
      - run: yarn test
      - run: yarn run coverage

  test-node-9:
    docker:
      - image: circleci/node:9
    working_directory: ~/repo
    steps:
      - checkout
      - restore_cache:
          key: dependencies-{{ checksum "yarn.lock" }}
      - run: yarn install
      - save_cache:
          paths:
            - node_modules
          key: dependencies-{{ checksum "yarn.lock" }}
      - run: yarn test
      - run: yarn run coverage

  release:
    working_directory: ~/repo
    docker:
      - image: circleci/node:latest
    steps:
      - checkout
      - restore_cache:
          key: dependencies-{{ checksum "yarn.lock" }}
      - run: yarn install
      - save_cache:
          paths:
            - node_modules
          key: dependencies-{{ checksum "yarn.lock" }}
      - run: npm run semantic-release || true<commit_msg>chore: fix git config in circleci<commit_after>version: 2

workflows:
  version: 2
  test:
    jobs:
      - test-node-8
      - test-node-9
      - release:
          requires:
            - test-node-8
            - test-node-9
jobs:
  test-node-8:
    docker:
      - image: circleci/node:8
    working_directory: ~/repo
    steps:
      - checkout
      - restore_cache:
          key: dependencies-{{ checksum "yarn.lock" }}
      - run: yarn install
      - save_cache:
          paths:
            - node_modules
          key: dependencies-{{ checksum "yarn.lock" }}
      - run:
          name: Configure git user info
          command: |
            git config --global user.email "<EMAIL>"
            git config --global user.name "Denali"
      - run: yarn test
      - run: yarn run coverage

  test-node-9:
    docker:
      - image: circleci/node:9
    working_directory: ~/repo
    steps:
      - checkout
      - restore_cache:
          key: dependencies-{{ checksum "yarn.lock" }}
      - run: yarn install
      - save_cache:
          paths:
            - node_modules
          key: dependencies-{{ checksum "yarn.lock" }}
      - run:
          name: Configure git user info
          command: |
            git config --global user.email "<EMAIL>"
            git config --global user.name "Denali"
      - run: yarn test
      - run: yarn run coverage

  release:
    working_directory: ~/repo
    docker:
      - image: circleci/node:latest
    steps:
      - checkout
      - restore_cache:
          key: dependencies-{{ checksum "yarn.lock" }}
      - run: yarn install
      - save_cache:
          paths:
            - node_modules
          key: dependencies-{{ checksum "yarn.lock" }}
      - run: npm run semantic-release || true
{'fraction_non_alphanumeric': 0.10748256182625238, 'fraction_numerical': 0.0063411540900443885, 'mean_word_length': 1.524, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1160733', 'n_tokens_mistral': 981, 'n_tokens_neox': 940, 'n_words': 242}