My brother and I recently wrote a new guide on creating a continuous integration, delivery, and testing pipeline for a Node.js app.
Full post: https://assertible.com/blog/set-up-continuous-testing-with-n...
Example repo: https://github.com/assertible/nodejs-example
The tutorial goes over the different components of a complete CI pipeline:
- Push code to GitHub, build and run unit tests on CircleCI
- Deploy new app version to Heroku
- Post-deployment tests with Assertible
The whole workflow is surprisingly easy to set up. We now run automated testing on all staging and production environments immediately after deployment. This has helped us save a ton of time manually QA testing.
I'd love to hear some feedback on this approach and how other teams manage their CI setups.
What does your CI pipeline look like? Anything you would add or change about this workflow?