Skip to content

Commit

Permalink
Build sample while building production code
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Dec 5, 2018
1 parent 9a54ffe commit c0f326b
Show file tree
Hide file tree
Showing 13 changed files with 82 additions and 45 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ install:
- npm run build
- npm run prepublishOnly
- docker build -f Dockerfile-playground -t webchat.azurecr.io/playground .
- npm run build:sample

script:
- docker-compose up --build -d
Expand All @@ -35,7 +36,7 @@ before_deploy:

deploy:
- provider: script
script: bash scripts/build_pages
script: bash scripts/deploy_pages
skip_cleanup: true
on:
branch: master
Expand Down
6 changes: 3 additions & 3 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"lerna": "2.11.0",
"packages": [
"packages/*",
"samples/breakaway-speech-button",
"samples/minimize-mode",
"samples/redux-activity-middleware"
"samples/12.customization-minimizable-web-chat",
"samples/13.customization-speech-ui",
"samples/14.customization-piping-to-redux"
],
"version": "0.0.0"
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
"keywords": [],
"jest": {
"collectCoverage": true,
"coverageReporters": ["lcov", "text-summary"],
"coverageReporters": [
"lcov",
"text-summary"
],
"setupTestFrameworkScriptFile": "<rootDir>/__tests__/setup/setupTestFramework.js",
"testPathIgnorePatterns": [
"<rootDir>/__tests__/setup/"
Expand All @@ -28,6 +31,7 @@
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run --scope=botframework-webchat* --stream build",
"build:sample": "lerna run --scope=sample-* --stream build",
"clean": "lerna run --scope=botframework-webchat* --parallel --stream clean",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"lerna-publish": "lerna publish",
Expand Down
28 changes: 21 additions & 7 deletions packages/bundle/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 21 additions & 7 deletions packages/component/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 21 additions & 7 deletions packages/core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c0f326b

Please sign in to comment.