steps: - template: '.\common\install-node.yml' - script: 'npm ci' displayName: Install dependencies - script: 'npm run build' displayName: Build source - script: 'npm test' displayName: Run tests # - task: PublishCodeCoverageResults@1 # inputs: # codeCoverageTool: 'Cobertura' # summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml # reportDirectory: $(Build.SourcesDirectory)/coverage