<commit_before># Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
  clone:
      docker:
        - image: node:8.4
      working_directory: /elm-express-boilerplate
      steps:
        - checkout
        - run:
            name: save SHA to a file
            command: echo $CIRCLE_SHA1 > .circle-sha
        - save_cache:
            key: v3-repo-{{ checksum ".circle-sha" }}
            paths:
              - /elm-express-boilerplate
  
  dependencies:
      docker:
        - image: node:8.4
      working_directory: /elm-express-boilerplate
      steps:
        - run:
            name: save SHA to a file
            command: echo $CIRCLE_SHA1 > .circle-sha
        - restore_cache:
            keys:
              - v3-repo-{{ checksum ".circle-sha" }}
        - restore_cache:
            keys:
              - v3-bundle-{{ checksum "package-lock.json" }}
              - v3-bundle-{{ checksum "elm-package.json" }}
        - run: npm install
        - run: npm run snyk:t
        - run: npm run build:elm
        - save_cache:
            key: v3-bundle-{{ checksum "package-lock.json" }}
            paths:
              - /elm-express-boilerplate/node-modules
        - save_cache:
            key: v3-bundle-{{ checksum "elm-package.json" }}
            paths:
              - /elm-express-boilerplate/elm-stuff

  build:
      docker:
        - image: node:8.4
      working_directory: /elm-express-boilerplate
      steps:
        - run:
            name: save SHA to a file
            command: echo $CIRCLE_SHA1 > .circle-sha
        - restore_cache:
            keys:
              - v3-repo-{{ checksum ".circle-sha" }}
        - restore_cache:
            keys:
              - v3-bundle-{{ checksum "package-lock.json" }}
              - v3-bundle-{{ checksum "elm-package.json" }}
        - run: npm run build

  test:
      docker:
        - image: node:8.4
      working_directory: /elm-express-boilerplate
      steps:
        - run:
            name: save SHA to a file
            command: echo $CIRCLE_SHA1 > .circle-sha
        - restore_cache:
            keys:
              - v3-repo-{{ checksum ".circle-sha" }}
        - restore_cache:
            keys:
              - v3-bundle-{{ checksum "package-lock.json" }}
              - v3-bundle-{{ checksum "elm-package.json" }}
        - run: cp -r elm-stuff tests
        - run: npm test
        - run: npm run snyk:m

  heroku_deploy:
      docker:
        - image: node:8.4
      working_directory: /elm-express-boilerplate
      steps:<commit_msg>ci(circleci): Not using package-lock.json as it gets modified during install<commit_after># Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
  clone:
      docker:
        - image: node:8.4
      working_directory: /elm-express-boilerplate
      steps:
        - checkout
        - run:
            name: save SHA to a file
            command: echo $CIRCLE_SHA1 > .circle-sha
        - save_cache:
            key: v3-repo-{{ checksum ".circle-sha" }}
            paths:
              - /elm-express-boilerplate
  
  dependencies:
      docker:
        - image: node:8.4
      working_directory: /elm-express-boilerplate
      steps:
        - run:
            name: save SHA to a file
            command: echo $CIRCLE_SHA1 > .circle-sha
        - restore_cache:
            keys:
              - v3-repo-{{ checksum ".circle-sha" }}
        - restore_cache:
            keys:
              - v3-bundle-{{ checksum "package.json" }}
              - v3-bundle-{{ checksum "elm-package.json" }}
        - run: npm install
        - run: npm run snyk:t
        - run: npm run build:elm
        - save_cache:
            key: v3-bundle-{{ checksum "package.json" }}
            paths:
              - /elm-express-boilerplate/node-modules
        - save_cache:
            key: v3-bundle-{{ checksum "elm-package.json" }}
            paths:
              - /elm-express-boilerplate/elm-stuff

  build:
      docker:
        - image: node:8.4
      working_directory: /elm-express-boilerplate
      steps:
        - run:
            name: save SHA to a file
            command: echo $CIRCLE_SHA1 > .circle-sha
        - restore_cache:
            keys:
              - v3-repo-{{ checksum ".circle-sha" }}
        - restore_cache:
            keys:
              - v3-bundle-{{ checksum "package.json" }}
              - v3-bundle-{{ checksum "elm-package.json" }}
        - run: npm run build

  test:
      docker:
        - image: node:8.4
      working_directory: /elm-express-boilerplate
      steps:
        - run:
            name: save SHA to a file
            command: echo $CIRCLE_SHA1 > .circle-sha
        - restore_cache:
            keys:
              - v3-repo-{{ checksum ".circle-sha" }}
        - restore_cache:
            keys:
              - v3-bundle-{{ checksum "package.json" }}
              - v3-bundle-{{ checksum "elm-package.json" }}
        - run: cp -r elm-stuff tests
        - run: npm test
        - run: npm run snyk:m

  heroku_deploy:
      docker:
        - image: node:8.4
      working_directory: /elm-express-boilerplate
      steps:
{'fraction_non_alphanumeric': 0.11417248537459898, 'fraction_numerical': 0.01170032081524816, 'mean_word_length': 1.4025385312783318, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '2315910', 'n_tokens_mistral': 1666, 'n_tokens_neox': 1599, 'n_words': 372}