Skip to content

Commit

Permalink
Update package.json with scripts to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Sep 30, 2019
1 parent c3a9f2d commit 477554b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ jobs:

- run: yarn test
- run: yarn chromatic test -a 2wix88i1ziu --exit-zero-on-changes
- run: |
if [ $CIRCLE_BRANCH = "master" ]
then
yarn release
fi
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"test": "react-scripts test",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public",
"build-storybook-docs": "build-storybook -s public --docs"
"build-storybook-docs": "build-storybook -s public --docs",
"release": "auto shipit"
},
"eslintConfig": {
"extends": "react-app"
Expand Down

0 comments on commit 477554b

Please sign in to comment.