110268e1ce
[skip ci]
29 lines
486 B
YAML
29 lines
486 B
YAML
pr:
|
|
- master
|
|
|
|
pool:
|
|
vmImage: "ubuntu-latest"
|
|
|
|
steps:
|
|
- task: NodeTool@0
|
|
inputs:
|
|
versionSpec: "10.x"
|
|
displayName: "Install NodeJS"
|
|
|
|
- script: |
|
|
npm install -g vsce
|
|
displayName: "Install VSCE"
|
|
|
|
- script: |
|
|
npm install
|
|
displayName: "NPM Install"
|
|
|
|
- script: |
|
|
vsce package --out $(Build.ArtifactStagingDirectory)
|
|
displayName: "VSCE Package"
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
inputs:
|
|
pathtoPublish: $(Build.ArtifactStagingDirectory)
|
|
artifactName: drop
|