mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Make build fail by running npm run test last * Missing semicolon should fail CI * Put semicolon back again
24 lines
527 B
YAML
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
|
|
|