forked from microsoft/vscode-chrome-debug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vsts-ci.yml
51 lines (44 loc) · 1.06 KB
/
.vsts-ci.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
phases:
- phase: MacOS
queue: Hosted macOS Preview
steps:
- task: NodeTool@0
displayName: Use Node 6.x
- task: Npm@1
displayName: npm install
inputs:
verbose: false
- task: Npm@1
displayName: npm build
inputs:
command: custom
verbose: false
customCommand: 'run build'
- task: Npm@1
displayName: npm test
inputs:
command: custom
verbose: false
customCommand: test
- task: Npm@1
displayName: npm lint
inputs:
command: custom
verbose: false
customCommand: 'run lint'
- task: Npm@1
displayName: npm package
inputs:
command: custom
verbose: false
customCommand: 'run package -- --packagePath="$(Build.BinariesDirectory)/vscode-chrome-debug.vsix"'
- task: ArchiveFiles@2
displayName: Archive files
inputs:
includeRootFolder: false
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifacts: drop'
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: drop
publishLocation: Container