<commit_before>version: 2

workflows:
  version: 2
  build:
    jobs:
      - install_and_build
      - deploy:
          requires:
            - install_and_build
          filters:
            branches:
              only:
                - dev

jobs:
  install_and_build:
    working_directory: ~/stockflux
    docker:
      - image: circleci/node:10.15.1
    steps:
      - checkout:
          path: ~/stockflux
      - run:
          name: Build Core
          command: |
            cd ~/stockflux/stockflux-core
            npm ci
            npm run build
      - run:
          name: Build Components
          command: |
            cd ~/stockflux/stockflux-components
            npm ci
            npm run build
      - run:
          name: Build BitFlux<commit_msg>Update ci to only deploy when branches are merged into master rather than dev branch<commit_after>version: 2

workflows:
  version: 2
  build:
    jobs:
      - install_and_build
      - deploy:
          requires:
            - install_and_build
          filters:
            branches:
              only:
                - master

jobs:
  install_and_build:
    working_directory: ~/stockflux
    docker:
      - image: circleci/node:10.15.1
    steps:
      - checkout:
          path: ~/stockflux
      - run:
          name: Build Core
          command: |
            cd ~/stockflux/stockflux-core
            npm ci
            npm run build
      - run:
          name: Build Components
          command: |
            cd ~/stockflux/stockflux-components
            npm ci
            npm run build
      - run:
          name: Build BitFlux
{'fraction_non_alphanumeric': 0.0687116564417178, 'fraction_numerical': 0.008588957055214725, 'mean_word_length': 1.2434662998624484, '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': '3667875', 'n_tokens_mistral': 485, 'n_tokens_neox': 450, 'n_words': 121}