-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwindtraders-pullrequests.yml
56 lines (45 loc) · 1.4 KB
/
tailwindtraders-pullrequests.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
trigger: none
pr:
branches:
exclude:
- main
variables:
resource-group: "ghazdo-workshops"
BuildConfiguration: "Release"
BuildPlatform: "any cpu"
Parameters.RestoreBuildProjects: "**/*.csproj"
Parameters.TestProjects: "**/*[Tt]ests/*.csproj"
webapp_name: tailwind-github-demo
advancedsecurity.submittoadvancedsecurity: true
pool:
vmImage: windows-latest
stages:
- stage: 'Build'
displayName: 'Build'
jobs:
- job:
displayName: 'Build on Windows'
steps:
- task: NodeTool@0
displayName: 'Use Node 10.16.3'
inputs:
versionSpec: 10.16.3
- task: AdvancedSecurity-Dependency-Scanning@1
displayName: 'Dependency Scanning'
- task: Npm@1
displayName: 'npm install'
inputs:
workingDir: TailwindTraders.Website/Source/Tailwind.Traders.Web/ClientApp
verbose: false
# Initializes the CodeQL tools for scanning.
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# Performs CodeQL Analysis
# Publish Results to Advance Security Dashboard
- task: AdvancedSecurity-Publish@1
displayName: 'Dependency Publish'
- task: DotNetCoreCLI@2
displayName: Test
inputs:
command: test
projects: '$(Parameters.TestProjects)'
arguments: '--configuration $(BuildConfiguration)'