Automation with Gulp
In the previous chapters, we have set up Git, a sample application, and some tests. However, while Git, or source control in general, and tests are very important for successful CI, perhaps the most important part is automation. You can write hundreds of tests, but if a programmer forgets to run them (or knowingly refuses to do so), those tests become pretty useless. The same goes for other tasks, such as linting and minifying your code. Later, when you need to release your application to a live environment, the human factor is your number one concern; one wrong move and the entire application goes down! For this reason, it is important to automate all the things.
When it comes to automating your HTML, CSS, and JavaScript ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access