From 472d37dd0c923ada00e08653e6b85f576afd94c4 Mon Sep 17 00:00:00 2001 From: Alex Weininger Date: Sat, 8 May 2021 01:07:11 -0700 Subject: [PATCH] Set up CI with Azure Pipelines [skip ci] --- .azure-pipelines/package.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .azure-pipelines/package.yml diff --git a/.azure-pipelines/package.yml b/.azure-pipelines/package.yml new file mode 100644 index 0000000..6f19618 --- /dev/null +++ b/.azure-pipelines/package.yml @@ -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