D · Delivery · intermediate · Week 7–8 · Chapter 9 of 12
CI, parallelization, and artifacts
Cypress in GitHub Actions with video/screenshot upload, caching, and optional Cypress Cloud parallelism. Retries are signal — not normalized flake acceptance.
Path progress69%
Step 1 of 4
GitHub Actions workflow
Use cypress-io/github-action for install, cache, run, and artifact upload in one step.
Example
name: Cypress
on: [push, pull_request]
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cypress-io/github-action@v6
with:
browser: chrome
config-file: cypress.config.jsDo this now
Add .github/workflows/cypress.yml. Green run on push to main.
Was this step clear?
Chapter learning outcomes
- cypress-io/github-action
- Artifact upload
- Retries config
- Record key optional
Clear these before you leave
Side quest
PR check
Open PR that adds CI. Required check before merge (if repo settings allow).