mirror of
https://github.com/chenasraf/DefinitelyTyped-tools.git
synced 2026-05-17 17:48:07 +00:00
* Use standard guardian tasks, not a manual script The script used a specific version, but guardian revs all the time. * try removing the reporting task it sucks * you know what, forget it let's just go back to hacks and tricks * help now im writing cmd * use a smaller regex * use /ad /b not /s /b 1. /s is recursive, which is wrong 2. /ad only shows directories * widen dir pattern * widen glob * put /s back in even though it is a mistake * now try a suffix * try all the switches
29 lines
785 B
YAML
29 lines
785 B
YAML
# Node.js
|
|
|
|
# Build a general Node.js project with npm.
|
|
# Add steps that analyze code, save build artifacts, deploy, and more:
|
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
|
|
|
|
trigger:
|
|
- master
|
|
|
|
pool:
|
|
vmImage: 'windows-latest'
|
|
|
|
steps:
|
|
|
|
- task: ea576cd4-c61f-48f8-97e7-a3cb07b90a6f@3
|
|
inputs:
|
|
outputFormat: 'pre'
|
|
batchSize: '20'
|
|
|
|
- script: |
|
|
for /f "delims=" %%a in ('dir /s /ad /b d:\a\_gdn\versions\Microsoft.Guardian.Cli.*') do dotnet.exe %%a\tools\Microsoft.Guardian.Cli.dll export --console --logger-level Standard --settings-file d:\a\1\pipeline.gdnsettings
|
|
displayName: 'guardian export'
|
|
|
|
- script: |
|
|
yarn install
|
|
node node_modules/tslint/lib/tslintCli.js -c security/tslint.json 'packages/*/src/**/*.ts'
|
|
displayName: 'tslint'
|
|
|