mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* 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
27 lines
534 B
YAML
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
|