DefinitelyTyped/azure-pipelines.yml
Nathan Shively-Sanders fd4a5a422f
Make build fail by running npm run test last (#34788)
* Make build fail by running npm run test last

* Missing semicolon should fail CI

* Put semicolon back again
2019-04-16 14:36:13 -07:00

24 lines
527 B
YAML

# Learn more at: https://aka.ms/yaml
jobs:
- job: npmRunTest
pool:
vmImage: 'Ubuntu 16.04'
demands: npm
timeoutInMinutes: 360
steps:
- task: Npm@1
displayName: 'npm install'
inputs:
verbose: false
- script: |
if [[ $BUILD_REASON == "Schedule" ]]; then git config --global user.email "types@microsoft.com" && git config --global user.name "TypeScript Bot" && npm run update-codeowners; fi
git checkout -- . && npm run test
displayName: 'npm run test'
trigger:
- master