Example using Cypress GitHub Action when Cypress is installed in a subfolder
Uses cypress-io/github-action, see .github/workflows/test.yml.
Folder structure
root/
e2e/
(code for installing and running Cypress tests)
package.json
package-lock.json
cypress.json
cypress
(code for running the "app" with "npm start")
package.json
yarn.lock