Set up CI with Azure Pipelines
[skip ci]
This commit is contained in:
parent
919650ed9c
commit
110268e1ce
28
azure-pipelines.yml
Normal file
28
azure-pipelines.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user