# 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

trigger:
- master

pool:
  vmImage: 'ubuntu-latest'

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

- task: YarnInstaller@3
  inputs:
    versionSpec: '1.x'
    checkLatest: true

- task: Yarn@2
  inputs:
    ProjectDirectory: 'src/AngularWebApiSample/ClientApp'
    Arguments: 'build'

- task: Yarn@2
  inputs:
    ProjectDirectory: 'src/AngularWebApiSample/ClientApp'
    Arguments: 'test:coverage'

Set up CI with Azure Pipelines
Set up CI with Azure Pipelines

[skip ci]