Recall & Review
beginner
What is a CI/CD pipeline?
A CI/CD pipeline is a set of automated steps that help developers build, test, and deliver code changes quickly and safely. CI stands for Continuous Integration, and CD stands for Continuous Delivery or Deployment.
Click to reveal answer
beginner
Why use a CI/CD pipeline for an Express app?
Using a CI/CD pipeline for an Express app helps catch errors early, speeds up delivery, and ensures the app is tested and deployed automatically without manual steps.
Click to reveal answer
beginner
Name a common tool used to run tests in an Express app CI pipeline.
Jest or Mocha are common testing tools used to run automated tests in an Express app during the CI process.
Click to reveal answer
intermediate
What is the role of a build step in a CI/CD pipeline for Express apps?
The build step installs dependencies and prepares the app for testing and deployment, ensuring all code and packages are ready to run.
Click to reveal answer
intermediate
How does Continuous Deployment differ from Continuous Delivery in CI/CD?
Continuous Delivery means the app is ready to deploy automatically but requires manual approval to release. Continuous Deployment automatically releases every change that passes tests to production.
Click to reveal answer
What is the first step in a typical CI/CD pipeline for an Express app?
✗ Incorrect
The first step is usually to build the app by installing dependencies and preparing the environment.
Which file commonly defines the scripts for testing and starting an Express app?
✗ Incorrect
The package.json file contains scripts like 'test' and 'start' used in CI/CD pipelines.
What tool can be used to automate CI/CD pipelines on GitHub?
✗ Incorrect
GitHub Actions is a popular tool integrated with GitHub to automate CI/CD workflows.
In CI/CD, what does the 'test' step verify?
✗ Incorrect
The test step runs automated tests to check that code changes work as expected.
Which environment is usually the last to receive code in a CI/CD pipeline?
✗ Incorrect
Production is the final environment where the app is live for users.
Describe the main steps of a CI/CD pipeline for an Express app.
Think about what happens from code change to live app.
You got /4 concepts.
Explain why automated testing is important in a CI/CD pipeline for Express apps.
Imagine deploying code without checking if it works.
You got /3 concepts.