Recall & Review
beginner
What is GitHub Actions used for in a project?
GitHub Actions automates tasks like testing, building, and deploying code whenever you push changes. It helps keep your project working smoothly without manual steps.
Click to reveal answer
beginner
How do you trigger a GitHub Action workflow?
You trigger a workflow by events like pushing code, opening a pull request, or on a schedule. These events tell GitHub Actions to start running the defined tasks.
Click to reveal answer
intermediate
What is the purpose of the 'jobs' section in a GitHub Actions workflow file?
The 'jobs' section defines what tasks run and on which machine. Each job can have steps like installing dependencies, running tests, or deploying.
Click to reveal answer
beginner
Why use Cypress with GitHub Actions?
Cypress runs automated tests for your web app. Using it with GitHub Actions lets you test your app automatically on every code change to catch problems early.
Click to reveal answer
beginner
What file format and location does GitHub Actions use for workflows?
Workflows are YAML files stored in the '.github/workflows/' folder in your repository.
Click to reveal answer
Where do you place GitHub Actions workflow files in your repository?
✗ Incorrect
Workflow files must be in the '.github/workflows/' directory for GitHub to detect and run them.
Which event can trigger a GitHub Actions workflow?
✗ Incorrect
The 'push' event triggers workflows when code is pushed to the repository.
What does a 'job' in GitHub Actions contain?
✗ Incorrect
A job is a group of steps executed on a runner machine.
Why integrate Cypress tests in GitHub Actions?
✗ Incorrect
Cypress tests run automatically to check app quality whenever code changes.
Which file format is used for GitHub Actions workflows?
✗ Incorrect
GitHub Actions workflows are written in YAML format.
Explain how to set up a basic GitHub Actions workflow to run Cypress tests on every push.
Think about the file location, event trigger, and commands to run tests.
You got /4 concepts.
Describe the benefits of using GitHub Actions with Cypress for a web project.
Focus on automation and quality assurance.
You got /4 concepts.