-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathazure-ci.yml
More file actions
44 lines (37 loc) · 816 Bytes
/
azure-ci.yml
File metadata and controls
44 lines (37 loc) · 816 Bytes
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
variables:
configuration: release
pool:
vmImage: 'windows-2019'
trigger:
batch: false
branches:
include:
- master
- release/*
paths:
include:
- '*'
exclude:
- 'readme.md'
- 'docs/*'
steps:
- task: Npm@1
displayName: 'npm install'
inputs:
command: 'install'
- task: Npm@1
displayName: 'npm run package'
inputs:
command: 'custom'
customCommand: 'run package'
- task: CopyFiles@2
displayName: 'copy VSIX package to Artifact Staging Directory'
inputs:
SourceFolder: '.'
Contents: '*.vsix'
TargetFolder: '$(Build.ArtifactStagingDirectory)/extension'
- task: PublishBuildArtifacts@1
displayName: 'publish vsix build artifacts'
inputs:
pathToPublish: '$(Build.ArtifactStagingDirectory)/extension'
artifactName: 'VSIX-package'