Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
timenick 2020-02-03 16:28:49 +08:00
Родитель 21d5f7b093
Коммит 7c9bef216d
1 изменённых файлов: 25 добавлений и 0 удалений

Просмотреть файл

@ -4,6 +4,17 @@
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
trigger:
batch: true
branches:
include:
- master
paths:
exclude:
- doc/*
- libraries/csharp_dotnetcore/*
- samples/*
pr:
- master
pool:
@ -21,3 +32,17 @@ steps:
npm run test
displayName: 'npm install, build and run tests'
workingDirectory: libraries/typescript/Microsoft.Bot.Builder.Adapters.WeChat
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'
- task: CopyFiles@2
inputs:
SourceFolder: ./.output
Contents: '**/*.tgz'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
flattenFolders: true