-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
56 lines (50 loc) · 1.08 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
trigger:
- master
- stable
- dev
pool:
vmImage: Ubuntu-18.04
steps:
- task: GitVersion@5
inputs:
runtime: 'core'
useConfigFile: true
configFilePath: 'GitVersion.yml'
- task: setjsonvalue@1
inputs:
filename: 'package.json'
numberOfLevels: '1'
keyname1: 'version'
valueToSet: '$(GitVersion.FullSemVer)'
-
task: NodeTool@0
inputs:
versionSpec: 12.x
displayName: 'Install Node.js'
-
task: YarnInstaller@3
inputs:
versionSpec: 1.x
checkLatest: true
displayName: 'Install Latest Yarn'
-
task: Yarn@3
inputs:
arguments: install
displayName: 'yarn install'
-
task: Yarn@3
inputs:
arguments: 'vscode:package'
displayName: 'yarn vscode:package '
-
task: CopyFiles@2
inputs:
Contents: '*.vsix'
TargetFolder: $(Build.ArtifactStagingDirectory)
CleanTargetFolder: true
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'packages'
publishLocation: 'Container'