DefinitelyTyped/azure-pipelines.yml
Nathan Shively-Sanders 679571bbfc
Rename test tasks (#47282)
* Add `npm test` instructions to README

* Rename test tasks

lint -> test
test -> test-all

lint is still around for backward compatibility

* add missed close quote
2020-09-04 15:12:35 -07:00

27 lines
534 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-all
displayName: 'npm run test-all'
trigger:
- master