The Simplest CI Setup For Running Cypress Tests

1 · Gleb Bahmutov · Dec. 6, 2021, 6:48 p.m.
Recently GitHub Actions CI service has introduced Reusable workflows which are ... amazing. You can create a workflow with multiple jobs and abstract all the testing details, and then call that workflow from another user workflow, passing inputs as parameters. Here is the entire workflow for installing NPM dependencies, caching them, then running Cypress tests in parallel across 3 machines using Cypress Dashboard parallelization:.github/workflows/ci.yml123456789101112name: cion: [push]jobs: tes...