Set up CI with Azure Pipelines
[skip ci]
This commit is contained in:
parent
7190b769f8
commit
472d37dd0c
1 changed files with 28 additions and 0 deletions
28
.azure-pipelines/package.yml
Normal file
28
.azure-pipelines/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Starter pipeline
|
||||
# Start with a minimal pipeline that you can customize to build and deploy your code.
|
||||
# Add steps that build, run tests, deploy, and more:
|
||||
# https://aka.ms/yaml
|
||||
|
||||
trigger:
|
||||
- main
|
||||
|
||||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- script: npm run package
|
||||
displayName: package
|
||||
- script: vsce package
|
||||
|
||||
- task: CopyFiles@2
|
||||
displayName: 'Copy vsix to staging directory'
|
||||
inputs:
|
||||
Contents: '**/*.vsix'
|
||||
TargetFolder: '$(build.artifactstagingdirectory)'
|
||||
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish artifacts: vsix'
|
||||
inputs:
|
||||
PathtoPublish: '$(build.artifactstagingdirectory)'
|
||||
ArtifactName: vsix
|
Loading…
Reference in a new issue