-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
azure-pipelines.yml
45 lines (36 loc) · 964 Bytes
/
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
37
38
39
40
41
42
43
44
45
resources:
- repo: self
trigger:
- master
- dev
pr:
- master
queue:
name: Hosted VS2017
demands: npm
steps:
- task: Npm@1
displayName: 'npm install'
inputs:
workingDir: 'arm-outputs/arm-outputsV2/'
verbose: false
- task: Npm@1
displayName: 'npm run build'
inputs:
command: custom
workingDir: 'arm-outputs/arm-outputsV2/'
customCommand: 'run build'
- task: ms-devlabs.vsts-developer-tools-build-tasks.package-extension-build-task.PackageVSTSExtension@1
displayName: 'Package Extension'
- task: CopyFiles@2
displayName: 'Copy Files to: $(Build.ArtifactStagingDirectory)'
inputs:
Contents: '*.vsix'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: CopyFiles@2
displayName: 'Copy Files to: $(Build.ArtifactStagingDirectory)'
inputs:
Contents: 'test-template.json'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'