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

Set up CI with Azure Pipelines
Set up CI with Azure Pipelines

[skip ci]