Change order of travis publish
lastquestion opened this issue · comments
When on master
, we should
- Build styleguide
- Push styleguide
- Push to master
- Publish to NPM
Steps 1-3 are easy to reverse (even if we force push), but step 4 is not, so it's better to have it last.
Also, make sure (1) fails so if the styleguide doesn't build correctly we don't try to publish at all.
Actually, also investigate why the build is passing when the styleguide is broken.