Skip to content

Commit

Permalink
feat(): deploy canary from master
Browse files Browse the repository at this point in the history
  • Loading branch information
mkucharz committed Dec 19, 2017
1 parent f131294 commit 15aa7d3
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,32 @@ jobs:
- packages/lib-js-test/node_modules
key: v1-dependencies-test-{{ checksum "packages/lib-js-test/package.json" }}


test:
steps:
# run tests!
- run: yarn run lint
- run: yarn run test:unit
- run: yarn run test:e2e

deploy:
steps:
- run: lerna publish --canary
- run: npx s deploy
- run: npx s hosting sync docs
- run: npx s hosting sync cookbook
- run: npx s hosting sync cheatsheet

workflows:
version: 2
build-test-deploy:
- build
- test:
requires:
- build
- deploy:
requires:
- build
- test
filtr:
branches:
only: master

0 comments on commit 15aa7d3

Please sign in to comment.