Overview of cypress-io/github-action
masterThe cypress-io/github-action is a GitHub Action designed to run Cypress End-to-End or Component tests within GitHub Actions CI workflows. It provides several high-level features to simplify test execution, including:
- Simplified Execution: Single-line calls to install dependencies and run tests.
- App Coordination: Built-in options to build the application, start a server, and wait for a specific URL to be available before running tests.
- Dependency Management: Automatic dependency installation based on
npm,pnpm, orYarn Classiclock files. - Caching: Caching of the Cypress binary and dependencies (for
npmandYarn Classic) to reduce bandwidth and speed up runs. - Cypress Cloud Integration: Support for recording test results to Cypress Cloud, including parallel execution.
- Observability: Generation of job summaries for quick access to results and built-in debugging utilities like a ping utility for server reachability.
- Environment Independence: Docker compatibility to ensure stable environments regardless of GitHub-hosted runner changes.