DefinitelyTyped/azure-pipelines.yml
Nathan Shively-Sanders 5f0ca356ac
Add danger for showing dts-critic suggestions (#44430)
* First attempt

* cwd churn

* cwd churn 2

* cwd churn 3

* cwd churn 4

* cwd churn 5

* cwd churn 6

* dump ls

* Add a TS dangerfile

* Faff with the CI

* try to read suggestions

* add bogus aframe change

* use correct dir

* handle no suggestions

* delete more of aframe to get dts-critic to notice

* now try yauzl

* move danger to travis for now

* Revert "delete more of aframe to get dts-critic to notice"

This reverts commit 65ea09ff423500eb4320658dbd23adab05a6832b.

* Revert "add bogus aframe change"

This reverts commit a6546bd79f7cae2784031e0409dba731e7f3a1e5.

* first try at formatting with markdown

* maybe it's a line-oriented format

* rebreak aframe

* Better formatting

Still not best

* better wording, maybe better formatting

* maybe I need a space to get autonumbering

* even better formatting

* special-case for >5 properties

* Use a summary discolosure

* Adds links to unpkg and the dts

* Fix the unpkg link

* Better unpkg/file linking

1. only show files if more than one was edited.
2. put top-level unpkg on top-level package heading

* fix formatting and single-file skip

* url needs trailing /

* Revert "now try yauzl"

This reverts commit 08ab2388194155d008f5ed68620a788ef9b8ae57.

* Revert "rebreak aframe"

This reverts commit 6ceed76f8abcbf83db55b8afc46d612378e64bd8.

Co-authored-by: Orta Therox <orta.therox@gmail.com>
2020-05-11 11:07:42 -07:00

27 lines
526 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