Our Astro and Zero-cost CMS course is live now!
Setup CI/CD with GitHub ActionsNEW

Overview

This is simple to learn, and by the end of this short course you’ll be much more confident dealing with GitHub Actions.

If you are a frontend developer, it’s likely you might be a little uncomfortable working with some non‑frontend things. One of those is CI/CD.

In fact, I didn’t touch this directly for the first two years of my career.

Introduction

  1. Developers (you and your team) push code to GitHub.

  2. The CI Pipeline (Continuous Integration) starts automatically:

    • It checks code style.

    • It runs tests to ensure everything works correctly.

    • Or anything that has to run before code can be merged.

  3. If the checks pass, the code is merged into the main branch.

    • If not, the team gets feedback and makes the necessary changes.
  4. Once merged, the CD Pipeline (Continuous Deployment) begins:

    • It builds the code.

    • It deploys the application.

    • If required to staging and dev environments also.

  5. Finally, the app goes live!

Course Content

A pretty straightforward content:

  • A starter repo with prettier, eslint, and tests already set up. We just move those checks to the GitHub Actions Workflows.
  • We also cover minor eslint configuration.

Starter Repo

We have created a GitHub repository with the initial setup to make it easier for you. You can fork or clone the repository and start working on the project. The branch should be 0-init.

  1. Clone the repo:
git clone https://github.com/yaralahruthik/fh-ci-cd-todo-app.git
  1. Then run the following commands:
cd fh-ci-cd-todo-app
pnpm install
  1. Finally, run the dev server:
pnpm dev
  1. Also, publish this to your own GitHub account, otherwise, you won't be able to follow up with the rest of the course.

In the next section, we will set up a CI pipeline with GitHub Actions.

You're an Engineer, Not Just a Frontend Engineer

Stop limiting yourself to frontend. Real engineering means understanding the full stack—backend, databases, algorithms, and system design. Boot.dev offers a comprehensive path to become a complete software engineer. Level up beyond the browser!

affiliate

Last updated on

On this page