-
Book Overview & Buying
-
Table Of Contents
Full-Stack React, TypeScript, and Node - Second Edition
By :
Now that we can build and run our application in containers, we need to automate the process. Every time someone pushes code, we want to automatically run tests, check types, and build the application. This is called Continuous Integration (CI).
Without CI, the typical workflow looks like this. "I will run the tests later." Later becomes never, a broken commit sneaks into main, and suddenly nobody wants to deploy because nobody trusts the code. With CI, every commit is tested and every merge to main is verified to be in a working state. It removes the human factor from the question "did you run the tests?".
There are many CI/CD platforms available. GitLab CI/CD, CircleCI, Travis CI, Jenkins, and Azure DevOps Pipelines are some of the well-known ones. The core concepts (pipelines, jobs, steps, triggers) are similar across all of them. We will use GitHub Actions in this chapter because it is built into GitHub, requires no external...
Change the font size
Change margin width
Change background colour