<commit_before># Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript

variables:
- group: docker

trigger:
- master

pool:
  vmImage: 'ubuntu-latest'

steps:
- task: NodeTool@0
  inputs:
    versionSpec: '10.x'
  displayName: 'Install Node.js'

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

- script: |
    npm run build
  displayName: 'npm run build'

- task: PublishPipelineArtifact@0
  inputs:
    artifactName: 'bull-eye'
    targetPath: 'dist/bull-eye'

- script: |
    docker build -t bulleye:v1 .
  displayName: 'build image'

- script: |
    docker login --username $(docker.dockerId) --password-stdin $(docker.dockerPassword)
  displayName: 'push image on the hub'
<commit_msg>Update azure-pipelines.yml for Azure Pipelines<commit_after># Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript

variables:
- name: dockerId
- name: dockerPassword

trigger:
- master

pool:
  vmImage: 'ubuntu-latest'

steps:
- task: NodeTool@0
  inputs:
    versionSpec: '10.x'
  displayName: 'Install Node.js'

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

- script: |
    npm run build
  displayName: 'npm run build'

- task: PublishPipelineArtifact@0
  inputs:
    artifactName: 'bull-eye'
    targetPath: 'dist/bull-eye'

- script: |
    docker build -t bulleye:v1 .
  displayName: 'build image'

- script: |
    docker login --username $(dockerId) --password-stdin $(dockerPassword)
  displayName: 'push image on the hub'

{'fraction_non_alphanumeric': 0.11696583671105965, 'fraction_numerical': 0.005790387955993051, 'mean_word_length': 3.583554376657825, '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': '1957183', 'n_tokens_mistral': 617, 'n_tokens_neox': 571, 'n_words': 166}