Project 2 โ€บ 00 What is CI/CD?GitHub โ†—
๐Ÿค– AI Prompt โ€” stuck? paste this

โ€œExplain CI/CD to me like I'm new to DevOps. What's the difference between Continuous Integration, Continuous Delivery, and Continuous Deployment? Give one concrete Node.js example.โ€

00 โ€” What is CI/CD? (and why GitHub Actions)

Category: Concepts ยท Priority: High ยท Step: 1

Understand the problem CI/CD solves before writing a single workflow.

๐ŸŽฏ What is this task?

CI/CD stands for Continuous Integration / Continuous Delivery. In plain English:

  • CI (Continuous Integration): every time you push code, a robot automatically builds it and runs your tests โ€” so broken code is caught in minutes, not after it ships.
  • CD (Continuous Delivery/Deployment): once the tests pass, that same robot can automatically package and ship your app to a registry or a server.

GitHub Actions is the robot. It lives inside your GitHub repo, watches for events (like a push or a pull request), and runs jobs you describe in a YAML file.

Think of it like a kitchen pass: a developer plates a dish (pushes code), and before it reaches a customer it must pass the expediter (CI checks). Only dishes that pass go out (CD).

๐Ÿค– AI Prompt

"Explain CI/CD to me like I'm new to DevOps. What is the difference between Continuous Integration, Continuous Delivery, and Continuous Deployment? Give me one concrete example for a Node.js app."

๐Ÿ“‹ Key vocabulary

TermMeaning
WorkflowA YAML file in .github/workflows/ that defines automation.
EventWhat triggers a workflow (push, pull_request, scheduleโ€ฆ).
JobA set of steps that run on one machine (runner).
StepA single command or action inside a job.
RunnerThe machine GitHub spins up to run your job (e.g. ubuntu-latest).
ActionA reusable unit of code, e.g. actions/checkout@v4.

โœ… Done when

  • You can explain CI and CD in one sentence each
  • You know what .github/workflows/ is for
  • You can name the difference between a job and a step

๐Ÿ“ Quiz

Answer all 3 questions correctly to complete this lesson.

1. What does Continuous Integration (CI) primarily do?
2. In GitHub Actions, where do workflow files live?
3. A 'job' is made up of...
โ† PreviousPass the quiz to completeNext โ†’