<commit_before>version: 2
jobs:
  build:
    docker:
      - image: circleci/node:6.11
    working_directory: ~/repo
    steps:
      - checkout
      - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
      - run: git config --global user.email <EMAIL>
      - run: git config --global user.name CircleCI
      - restore_cache:
          keys:
            - v1-dependencies-{{ checksum "yarn.lock" }}
            - v1-dependencies-
      - run: yarn install
      - save_cache:
          paths:
            - node_modules
          key: v1-dependencies-{{ checksum "yarn.lock" }}
      - run: yarn test:all
      - run: yarn build
      - run: yarn release
<commit_msg>Do not run builds for version bumps<commit_after>version: 2
jobs:
  build:
    branches:
      ignore:
        - /v[0-9]+\.[0-9]+\.[0-9]+/
    docker:
      - image: circleci/node:6.11
    working_directory: ~/repo
    steps:
      - checkout
      - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
      - run: git config --global user.email <EMAIL>ci@circleci
      - run: git config --global user.name CircleCI
      - restore_cache:
          keys:
            - v1-dependencies-{{ checksum "yarn.lock" }}
            - v1-dependencies-
      - run: yarn install
      - save_cache:
          paths:
            - node_modules
          key: v1-dependencies-{{ checksum "yarn.lock" }}
      - run: yarn test:all
      - run: yarn build
      - run: yarn release

{'fraction_non_alphanumeric': 0.13016949152542373, 'fraction_numerical': 0.013559322033898305, 'mean_word_length': 1.7082568807339449, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '6845539', 'n_tokens_mistral': 501, 'n_tokens_neox': 472, 'n_words': 113}