forked from microsoft/vscode-webview-ui-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
36 lines (34 loc) · 1.13 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
trigger:
- main
jobs:
- job: Compliance
pool:
vmImage: 'windows-latest'
steps:
- task: PoliCheck@1
displayName: '🌎 PoliCheck'
inputs:
inputType: 'Basic'
targetType: 'F'
targetArgument: '$(Build.SourcesDirectory)'
result: 'PoliCheck.xml'
optionsXS: 1 # Scan subfolders
optionsPE: 1 # Enable exclusions
optionsUEPATH: '$(Build.SourcesDirectory)/policheck/UserExclusion.xml'
- task: PublishBuildArtifacts@1
displayName: 'Create log artifact'
inputs:
pathToPublish: '..\_sdt\logs\PoliCheck\PoliCheck.xml'
artifactName: 'PoliCheck'
- job: Security
pool:
vmImage: 'windows-latest'
steps:
- task: ESLint@1
displayName: '🛡 Guardian: ESLint'
inputs:
Configuration: 'recommended'
TargetType: 'eslint'
TargetsESLint: |
$(Build.SourcesDirectory)/**/*.js
ErrorLevel: 'warn'