-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
48 lines (41 loc) · 1 KB
/
Copy pathazure-pipelines.yml
File metadata and controls
48 lines (41 loc) · 1 KB
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
trigger:
- main
pool:
vmImage: windows-latest
steps:
- task: NodeTool@0
displayName: Install Node.js
inputs:
versionSpec: 16.x
- task: Npm@1
displayName: Install CopyFiles
inputs:
command: custom
workingDir: $(Build.SourcesDirectory)
customCommand: install -g copyfiles
- task: Npm@1
displayName: Build
inputs:
command: custom
workingDir: $(Build.SourcesDirectory)
customCommand: run vsix:build
- task: Npm@1
displayName: Copy
inputs:
command: custom
workingDir: $(Build.SourcesDirectory)
customCommand: run vsix:copy
- task: ArchiveFiles@2
displayName: Archive Files
inputs:
rootFolderOrFile: $(Build.SourcesDirectory)/out
includeRootFolder: false
archiveType: zip
archiveFile: $(Build.ArtifactStagingDirectory)/package.zip
replaceExistingArchive: true
- task: PublishBuildArtifacts@1
displayName: Publish Artifacts
inputs:
PathtoPublish: $(Build.ArtifactStagingDirectory)
ArtifactName: drop
publishLocation: Container