<commit_before>version: 2

references:
  container_config: &container_config
    docker:
      - image: circleci/node:8
    working_directory: ~/ant-design

  attach_workspace: &attach_workspace
    attach_workspace:
      at: ~/ant-design

  install_react: &install_react
    run: REACT=15 ./scripts/install-react.sh

  react_15: &react_15
    environment:
      REACT: 15

  react_16: &react_16
    environment:
      REACT: 16

  workflow: &workflow
    jobs:
      - setup:
          filters:
            branches:
              ignore: gh-pages
      - dist:
          requires:
          - setup
      - compile:
          requires:
          - setup
      - lint:
          requires:
            - setup
      - test_dist:
          requires:
            - dist
      - test_lib:
          requires:
            - compile
      - test_es:
          requires:
            - compile
      - test_dom:
          requires:
            - setup
      - test_node:
          requires:
            - setup
      - test_dist_15:
          requires:
            - dist
      - test_lib_15:
          requires:
            - compile
      - test_es_15:
          requires:
            - compile
      - test_dom_15:
          requires:
            - setup
      - test_node_15:
          requires:
            - setup

jobs:
  setup:
    <<: *container_config
    steps:
      - checkout
      - run: node -v
      - run: npm -v
      - run: npm install
      - run:
          command: |
            set +eo
            npm ls
            true
      - persist_to_workspace:
          root: ~/ant-design
          paths:
            - node_modules
<commit_msg>chore: store package-lock.json as artifact<commit_after>version: 2

references:
  container_config: &container_config
    docker:
      - image: circleci/node:8
    working_directory: ~/ant-design

  attach_workspace: &attach_workspace
    attach_workspace:
      at: ~/ant-design

  install_react: &install_react
    run: REACT=15 ./scripts/install-react.sh

  react_15: &react_15
    environment:
      REACT: 15

  react_16: &react_16
    environment:
      REACT: 16

  workflow: &workflow
    jobs:
      - setup:
          filters:
            branches:
              ignore: gh-pages
      - dist:
          requires:
          - setup
      - compile:
          requires:
          - setup
      - lint:
          requires:
            - setup
      - test_dist:
          requires:
            - dist
      - test_lib:
          requires:
            - compile
      - test_es:
          requires:
            - compile
      - test_dom:
          requires:
            - setup
      - test_node:
          requires:
            - setup
      - test_dist_15:
          requires:
            - dist
      - test_lib_15:
          requires:
            - compile
      - test_es_15:
          requires:
            - compile
      - test_dom_15:
          requires:
            - setup
      - test_node_15:
          requires:
            - setup

jobs:
  setup:
    <<: *container_config
    steps:
      - checkout
      - run: node -v
      - run: npm -v
      - run: npm install
      - run:
          command: |
            set +eo
            npm ls
            true
      - persist_to_workspace:
          root: ~/ant-design
          paths:
            - node_modules
      - store_artifacts:
          path: package-lock.json

{'fraction_non_alphanumeric': 0.0788699234844026, 'fraction_numerical': 0.015303119482048263, 'mean_word_length': 1.1190773067331672, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6570764', 'n_tokens_mistral': 1043, 'n_tokens_neox': 985, 'n_words': 213}