<commit_before># run the same job on 2 CI machines in parallel
# https://docs.microsoft.com/en-us/vsts/pipelines/process/phases
phases:
  - phase: Test
    queue: 'Hosted Linux Preview'
    steps:
      - task: NodeTool@0
        inputs:
          versionSpec: '8.x'
        displayName: 'Install Node.js'

      - script: |
          npm install -g yarn
        displayName: 'install yarn'

      - script: |
          cd client-react
          yarn install
        displayName: 'yarn install react app'

      - script: |
          export REACT_APP_CACHE_KEY=$(uuidgen)
        displayName: GenerateHashSalt
        inputs:
          VariableName: REACT_APP_CACHE_KEY

      - script: |
          echo $REACT_APP_CACHE_KEY
          cd client-react
          yarn build
        displayName: 'create production build'

      - task: CopyFiles@2
        displayName: 'Copy Files to: $(Build.ArtifactStagingDirectory)'
        inputs:
          SourceFolder: client-react/build
          TargetFolder: '$(Build.ArtifactStagingDirectory)'

      - task: PublishBuildArtifacts@1
        displayName: 'Publish Artifact: dest'
        inputs:
          ArtifactName: dest
<commit_msg>remove inputs from hash generation<commit_after># run the same job on 2 CI machines in parallel
# https://docs.microsoft.com/en-us/vsts/pipelines/process/phases
phases:
  - phase: Test
    queue: 'Hosted Linux Preview'
    steps:
      - task: NodeTool@0
        inputs:
          versionSpec: '8.x'
        displayName: 'Install Node.js'

      - script: |
          npm install -g yarn
        displayName: 'install yarn'

      - script: |
          cd client-react
          yarn install
        displayName: 'yarn install react app'

      - script: |
          export REACT_APP_CACHE_KEY=$(uuidgen)
        displayName: GenerateHashSalt

      - script: |
          echo $REACT_APP_CACHE_KEY
          cd client-react
          yarn build
        displayName: 'create production build'

      - task: CopyFiles@2
        displayName: 'Copy Files to: $(Build.ArtifactStagingDirectory)'
        inputs:
          SourceFolder: client-react/build
          TargetFolder: '$(Build.ArtifactStagingDirectory)'

      - task: PublishBuildArtifacts@1
        displayName: 'Publish Artifact: dest'
        inputs:
          ArtifactName: dest

{'fraction_non_alphanumeric': 0.08365674859853385, 'fraction_numerical': 0.004312203536006899, 'mean_word_length': 2.0208333333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4429905', 'n_tokens_mistral': 679, 'n_tokens_neox': 651, 'n_words': 173}