Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPublish command needs more docs around Travis-CI configuration #2022
Comments
|
…search - references - keyword: lerna independent publish travis ci (lerna/lerna#2022) - repo: https://github.com/jedmao/queso
…search - references - keyword: lerna independent publish travis ci (lerna/lerna#2022) - repo: https://github.com/jedmao/queso


It took me way too long and far too many Travis-CI builds to figure out the right configuration for Travis-CI to run
lerna publishwith everything it needed. I'm still not 100% sure if everything I'm doing is necessary, but perhaps it will help others to share my findings. Even better if there was some documentation around this.My goals
npm publisheach relevant package in the monorepo when a PR is merged into master.git push.Solution
Add
.npmrcto.gitignore..travis.yml
Shouldn't the
GH_TOKENandTRAVIS_REPO_SLUGautomatically be used in the first place? I'm hoping there's an easier way to compress these steps.lerna.json
Conclusion
Be great if there was some documentation around all these steps together.