Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit c35c805

Browse files
committed
Add vsts-ci.yml
1 parent 52ba9df commit c35c805

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

.vsts-ci.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
phases:
2+
- phase: MacOS
3+
queue: Hosted macOS Preview
4+
steps:
5+
- task: NodeTool@0
6+
displayName: Use Node 6.x
7+
8+
- task: Npm@1
9+
displayName: npm install
10+
inputs:
11+
verbose: false
12+
13+
- task: Npm@1
14+
displayName: npm build
15+
inputs:
16+
command: custom
17+
verbose: false
18+
customCommand: 'run build'
19+
20+
- task: Npm@1
21+
displayName: npm test
22+
inputs:
23+
command: custom
24+
verbose: false
25+
customCommand: test
26+
27+
- task: Npm@1
28+
displayName: npm lint
29+
inputs:
30+
command: custom
31+
verbose: false
32+
customCommand: 'run lint'
33+
34+
- task: Npm@1
35+
displayName: npm package
36+
inputs:
37+
command: custom
38+
verbose: false
39+
customCommand: 'run package -- --packagePath="$(Build.BinariesDirectory)/vscode-chrome-debug.vsix"'
40+
41+
- task: ArchiveFiles@2
42+
displayName: Archive files
43+
inputs:
44+
includeRootFolder: false
45+
46+
- task: PublishBuildArtifacts@1
47+
displayName: 'Publish Artifacts: drop'
48+
inputs:
49+
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
50+
ArtifactName: drop
51+
publishLocation: Container

0 commit comments

Comments
 (0)