Merge branch 'add/azure-pipelines' of https://github.com/microsoft/BotFramework-WeChat into add/azure-pipelines
This commit is contained in:
Коммит
357651dc7a
|
@ -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:
|
||||
|
@ -18,4 +29,31 @@ steps:
|
|||
- script: |
|
||||
npm install
|
||||
npm run build
|
||||
displayName: 'npm install and build'
|
||||
npm run test
|
||||
displayName: 'npm install, build and run tests'
|
||||
workingDirectory: libraries/typescript/Microsoft.Bot.Builder.Adapters.WeChat
|
||||
|
||||
- task: Npm@1
|
||||
displayName: 'npm pack botframework-wechat'
|
||||
inputs:
|
||||
command: custom
|
||||
workingDir: 'libraries/typescript/Microsoft.Bot.Builder.Adapters.WeChat'
|
||||
verbose: false
|
||||
customCommand: pack
|
||||
|
||||
- task: CopyFiles@2
|
||||
displayName: 'Copy Files to: $(Build.ArtifactStagingDirectory)'
|
||||
inputs:
|
||||
SourceFolder: libraries/typescript/Microsoft.Bot.Builder.Adapters.WeChat
|
||||
Contents: '**/*.tgz'
|
||||
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||
flattenFolders: true
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish Artifact: drop'
|
||||
inputs:
|
||||
ArtifactName: 'drop'
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче