<commit_before># Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
  build:
    docker:
      - image: circleci/node:8.0

    steps:
      - checkout

      # Download and cache dependencies
      - restore_cache:
          keys:
          - v1-dependencies-{{ checksum "package-lock.json" }}
          # fallback to using the latest cache if no exact match is found
          - v1-dependencies-

      - run: npm install

      - save_cache:
          paths:
            - node_modules
          key: v1-dependencies-{{ checksum "package-lock.json" }}

      # run tests!
      - run: npm test

<commit_msg>ci: test using different node versions<commit_after># Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
defaults: &defaults
  steps:
    - checkout

    # Download and cache dependencies
    - run: echo "$NODE_VERSION" > _NODE_VERSION
    - restore_cache:
        keys:
        - v1-dependencies-node-{{ checksum "_NODE_VERSION" }}-{{ checksum "package-lock.json" }}
        # fallback to using the latest cache if no exact match is found
        - v1-dependencies-

    - run: npm install

    - save_cache:
        paths:
          - node_modules
        key: v1-dependencies-node-{{ checksum "_NODE_VERSION" }}-{{ checksum "package-lock.json" }}

    # run tests!
    - run: npm test


version: 2
jobs:
  test8:
    docker:
      - image: circleci/node:8
    environment:
      - NODE_VERSION: "v8"
    <<: *defaults

  test6:
    docker:
      - image: circleci/node:6
    environment:
      - NODE_VERSION: "v6"
    <<: *defaults

  test4:
    docker:
      - image: circleci/node:4
    environment:
      - NODE_VERSION: "v4"
    <<: *defaults

workflows:
  version: 2

  test:
    jobs:
      - test8
      - test6
      - test4
{'fraction_non_alphanumeric': 0.10855949895615867, 'fraction_numerical': 0.016179540709812108, 'mean_word_length': 2.062300319488818, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5859166', 'n_tokens_mistral': 632, 'n_tokens_neox': 591, 'n_words': 159}