<commit_before>version: 2
jobs:
  build:
    docker:
      - image: circleci/node:10.14.2-browsers-legacy
    steps:
      - checkout
      - restore_cache:
          key: dependency-cache-{{ checksum "package.json" }}
      - run:
          name: Install dependencies
          command: yarn
      - run:
          name: Build
          command: yarn build
      - run:
          name: Lint
          command: yarn lint
      - run:
          name: Test
          command: yarn test
      - run:
          name: Publish Canary
          command: |
            if [ -z "$CIRCLE_PR_NUMBER" ]
            then
                echo "Skipping canary publish due to a fork PR..."
            else    
                echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > .npmrc
                npm run ci:release:canary
            fi
      - save_cache:<commit_msg>try to fix ci canary<commit_after>version: 2
jobs:
  build:
    docker:
      - image: circleci/node:10.14.2-browsers-legacy
    steps:
      - checkout
      - restore_cache:
          key: dependency-cache-{{ checksum "package.json" }}
      - run:
          name: Install dependencies
          command: yarn
      - run:
          name: Build
          command: yarn build
      - run:
          name: Lint
          command: yarn lint
      - run:
          name: Test
          command: yarn test
      - run:
          name: Publish Canary
          command: |
            echo "Fork PR number: $CIRCLE_PR_NUMBER"
            if [ "${CIRCLE_PR_NUMBER}" == "" ]
            then
                echo "Skipping canary publish due to a fork PR..."
            else    
                echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > .npmrc
                npm run ci:release:canary
            fi
      - save_cache:
{'fraction_non_alphanumeric': 0.09080779944289694, 'fraction_numerical': 0.006685236768802228, 'mean_word_length': 1.3025641025641026, 'pattern_counts': {'":': 0, '<': 3, '<?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': '192344', 'n_tokens_mistral': 544, 'n_tokens_neox': 515, 'n_words': 137}