<commit_before>variables:
  YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn

trigger:
- master

jobs:
- job: BuildApp
  displayName: Build App
  pool:
    vmImage: 'Ubuntu 16.04'
  steps:
  - task: NodeTool@0
    inputs:
      versionSpec: '12.13.x'
  - script: |
      curl -o- -L https://yarnpkg.com/install.sh | bash
    displayName: "Install Yarn"
  - script: |
      set -e
      source ci/setup.sh
      export MSG=$(ts-node tools/src/commit-msg)
      export SHA=$(node -pe 'const {env}=process;env.SYSTEM_PULLREQUEST_SOURCECOMMITID || env.BUILD_SOURCEVERSION')
      echo $MSG > ./ci/scripts/MSG
      echo $SHA > ./ci/scripts/SHA
      echo $MSG.$SHA
    displayName: "Write data"
  - task: CacheBeta@1
    inputs:
      key: yarn | $(Agent.OS) | yarn.lock
      path: $(YARN_CACHE_FOLDER)
    displayName: "Cache Yarn packages"
  - bash: |
      set -e
      source ./ci/setup.sh
      yarn --frozen-lockfile
      export MSG=$(ts-node tools/src/commit-msg)
      ts-node tools/*/bump-version.ts
      yarn global add serve
      yarn tools:prepare-lib
      ./ci/scripts/build-style-compiler.sh
      node dist/@alyle/ui/style-compiler/main src
      # yarn ng build alyle-ui --aot --output-path dist/alyle-ui-aot
      yarn build
    displayName: 'Build App'
  - task: PublishBuildArtifacts@1
    inputs:
      pathtoPublish: 'dist/alyle-ui'<commit_msg>chore: update azure pipelines<commit_after>variables:
  YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn

trigger:
- master

jobs:
- job: BuildApp
  displayName: Build App
  pool:
    vmImage: 'Ubuntu 16.04'
  steps:
  - task: NodeTool@0
    inputs:
      versionSpec: '12.13.x'
  - script: |
      curl -o- -L https://yarnpkg.com/install.sh | bash
    displayName: "Install Yarn"
  - script: |
      set -e
      . ci/setup.sh
      which ts-node
      export MSG=$(ts-node tools/src/commit-msg)
      export SHA=$(node -pe 'const {env}=process;env.SYSTEM_PULLREQUEST_SOURCECOMMITID || env.BUILD_SOURCEVERSION')
      echo $MSG > ./ci/scripts/MSG
      echo $SHA > ./ci/scripts/SHA
      echo $MSG.$SHA
    displayName: "Write data"
  - task: CacheBeta@1
    inputs:
      key: yarn | $(Agent.OS) | yarn.lock
      path: $(YARN_CACHE_FOLDER)
    displayName: "Cache Yarn packages"
  - bash: |
      set -e
      . ci/setup.sh
      yarn --frozen-lockfile
      export MSG=$(ts-node tools/src/commit-msg)
      ts-node tools/*/bump-version.ts
      yarn global add serve
      yarn tools:prepare-lib
      ./ci/scripts/build-style-compiler.sh
      node dist/@alyle/ui/style-compiler/main src
      # yarn ng build alyle-ui --aot --output-path dist/alyle-ui-aot
      yarn build
    displayName: 'Build App'
  - task: PublishBuildArtifacts@1
    inputs:
      pathtoPublish: 'dist/alyle-ui'
{'fraction_non_alphanumeric': 0.12863372093023256, 'fraction_numerical': 0.007994186046511628, 'mean_word_length': 2.3862238622386225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '308040', 'n_tokens_mistral': 1005, 'n_tokens_neox': 971, 'n_words': 216}