<commit_before>version: 2

jobs:
  test-node8:
    docker:
      - image: circleci/node:8.16
    steps:
      - checkout
      - restore_cache:
          keys:
            - dependencies-node8-{{ arch }}-{{ checksum "yarn.lock" }}
            - dependencies-node8-{{ arch }}
      - run:
          name: Install dependencies
          command: yarn --prefer-offline --pure-lockfile
      - save_cache:
          key: dependencies-node8-{{ arch }}-{{ checksum "yarn.lock" }}
          paths:
            - node_modules
      - run:
          name: lint code
          command: yarn run lint
      - run:
          name: Check nothing was forget before commit
          command: yarn run repository-check-dirty

  test-node12:
    docker:
      - image: circleci/node:12.11
    steps:
      - checkout
      - restore_cache:
          keys:
            - dependencies-node12-{{ arch }}-{{ checksum "yarn.lock" }}
            - dependencies-node12-{{ arch }}
      - run:
          name: Install dependencies
          command: yarn --prefer-offline --pure-lockfile
      - save_cache:
          key: dependencies-node12-{{ arch }}-{{ checksum "yarn.lock" }}
          paths:
            - node_modules
      - run:
          name: tests
          command: yarn run test

  test-node10:
    docker:
      - image: circleci/node:10.16
    steps:
      - checkout
      - restore_cache:
          keys:
            - dependencies-node10-{{ arch }}-{{ checksum "yarn.lock" }}
            - dependencies-node10-{{ arch }}
      - run:
          name: Install dependencies
          command: yarn --prefer-offline --pure-lockfile
      - save_cache:
          key: dependencies-node10-{{ arch }}-{{ checksum "yarn.lock" }}
          paths:
            - node_modules<commit_msg>chore(deps): update node.js to v10.17 (#96)<commit_after>version: 2

jobs:
  test-node8:
    docker:
      - image: circleci/node:8.16
    steps:
      - checkout
      - restore_cache:
          keys:
            - dependencies-node8-{{ arch }}-{{ checksum "yarn.lock" }}
            - dependencies-node8-{{ arch }}
      - run:
          name: Install dependencies
          command: yarn --prefer-offline --pure-lockfile
      - save_cache:
          key: dependencies-node8-{{ arch }}-{{ checksum "yarn.lock" }}
          paths:
            - node_modules
      - run:
          name: lint code
          command: yarn run lint
      - run:
          name: Check nothing was forget before commit
          command: yarn run repository-check-dirty

  test-node12:
    docker:
      - image: circleci/node:12.11
    steps:
      - checkout
      - restore_cache:
          keys:
            - dependencies-node12-{{ arch }}-{{ checksum "yarn.lock" }}
            - dependencies-node12-{{ arch }}
      - run:
          name: Install dependencies
          command: yarn --prefer-offline --pure-lockfile
      - save_cache:
          key: dependencies-node12-{{ arch }}-{{ checksum "yarn.lock" }}
          paths:
            - node_modules
      - run:
          name: tests
          command: yarn run test

  test-node10:
    docker:
      - image: circleci/node:10.17
    steps:
      - checkout
      - restore_cache:
          keys:
            - dependencies-node10-{{ arch }}-{{ checksum "yarn.lock" }}
            - dependencies-node10-{{ arch }}
      - run:
          name: Install dependencies
          command: yarn --prefer-offline --pure-lockfile
      - save_cache:
          key: dependencies-node10-{{ arch }}-{{ checksum "yarn.lock" }}
          paths:
            - node_modules
{'fraction_non_alphanumeric': 0.12044817927170869, 'fraction_numerical': 0.0196078431372549, 'mean_word_length': 1.5147887323943663, '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': '7179176', 'n_tokens_mistral': 1100, 'n_tokens_neox': 1030, 'n_words': 244}