Continuous integration
Before pushing your code to production, you should enable CI. This simple tool helps ensure we don’t ship broken code to production by executing automated tasks, including the execution of tests, every time we make changes to our code.
CircleCI
CircleCI makes it easy to get started, with a free tier and excellent documentation for beginners and pros alike. If you have unique enterprise needs, CircleCI can be brought on-premises, behind corporate firewalls, or as a private deployment in the cloud.
CircleCI has pre-baked build environments for the virtual configuration of free setups, but it can also run builds using Docker containers, making it a solution that scales to the user’s skills and needs:
- Create a CircleCI account at https://circleci.com/.
- Navigate to Projects to add a new project.
- Search for
local-weather-app
and click on Set Up Project. - Follow the on-screen prompts to create a sample
.yml
file...