Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
Родитель
21d5f7b093
Коммит
7c9bef216d
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче