forked from microsoft/botframework-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
65 lines (52 loc) · 1.26 KB
/
azure-pipelines.yml
File metadata and controls
65 lines (52 loc) · 1.26 KB
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
57
58
59
60
61
62
63
64
65
trigger:
batch: true
branches:
include:
- master
pr:
- master
schedules:
- cron: "0 0 * * *"
displayName: Daily midnight build
branches:
include:
- master
strategy:
matrix:
linux:
imageName: "windows-2019"
nodeVersion: "12.x"
maxParallel: 3
pool:
vmImage: $(imageName)
steps:
- powershell: 'Get-ChildItem env:* | sort-object name'
displayName: 'Log environment variables'
continueOnError: true
- task: NodeTool@0
displayName: 'Use Node 12.x'
inputs:
versionSpec: $(nodeVersion)
- task: Npm@1
displayName: 'Install rush'
inputs:
command: custom
verbose: false
customCommand: 'install --global @microsoft/rush'
- script: 'rush update'
displayName: 'rush update'
- script: 'rush build'
displayName: 'rush build'
- script: 'rush test'
displayName: 'rush test'
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'
- script: 'rush report:coverage'
displayName: 'rush report:coverage'
enabled: false
- task: PublishBuildArtifacts@1
enabled: false
displayName: 'Publish Artifact: nyc_output'
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\.nyc_output'
ArtifactName: 'nyc_output'