Skip to content

Commit

Permalink
Add Azure Pipelines YAML (#2135)
Browse files Browse the repository at this point in the history
* Add Azure Pipelines YAML

* Add entry
  • Loading branch information
compulim committed Jul 2, 2019
1 parent 0e86beb commit 713d341
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fix [#2110](https://github.com/Microsoft/BotFramework-WebChat/issues/2110). Fixed sendBox input/textarea background color issue, by [@tdurnford](https://github.com/johndoe) in PR [#2111](https://github.com/Microsoft/BotFramework-WebChat/pull/2111)
- Fix [#2104](https://github.com/Microsoft/BotFramework-WebChat/issues/2104). Remove deprecated `/master/webchat**.js` links from samples, by [@corinagum](https://github.com/corinagum) in PR [#2105](https://github.com/Microsoft/BotFramework-WebChat/pull/2105)
- Fix [#1863](https://github.com/Microsoft/BotFramework-WebChat/issues/1863). Remove title, subtitle, and text of cards from being spoken by [@corinagum](https://github.com/corinagum) in PR [#2118](https://github.com/Microsoft/BotFramework-WebChat/pull/2118)
- Fix [#2134](https://github.com/Microsoft/BotFramework-WebChat/issues/2134). Added `azure-pipelines.yml` for embed package, by [@compulim](https://github.com/compulim) in PR [#2135](https://github.com/Microsoft/BotFramework-WebChat/pull/2135)
- Fix [#2106](https://github.com/Microsoft/BotFramework-WebChat/issues/2016). Fix `AdaptiveCardHostConfig` warning associated with the `CommonCard` component, by [@tdurnford](https://github.com/tdurnford) in PR [#2108](https://github.com/Microsoft/BotFramework-WebChat/pull/2108)

### Samples
Expand Down
46 changes: 46 additions & 0 deletions packages/embed/azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
trigger:
- master

pool:
vmImage: 'ubuntu-latest'

steps:
- task: NodeTool@0
displayName: 'Use Node 11.x'
inputs:
versionSpec: 11.x

- task: Npm@1
displayName: 'npm ci'
inputs:
command: custom
workingDir: packages/embed
verbose: false
customCommand: ci

- task: Npm@1
displayName: 'npm run prepublishOnly'
inputs:
command: custom
workingDir: packages/embed
verbose: false
customCommand: 'run prepublishOnly'

- task: CopyFiles@2
displayName: 'Copy index.html to drop'
inputs:
SourceFolder: packages/embed/dist
Contents: index.html
TargetFolder: '$(Build.ArtifactStagingDirectory)/drop'

- task: CopyFiles@2
displayName: 'Copy servicingPlan.json to drop'
inputs:
SourceFolder: packages/embed
Contents: servicingPlan.json
TargetFolder: '$(Build.ArtifactStagingDirectory)/drop'

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)/drop'

0 comments on commit 713d341

Please sign in to comment.