Example using npm-install and manual Cypress installation inside GH Action.
See .github/workflows/tests.yml
First, only NPM dependencies are installed (without Cypress binary). Then Cypress binary is installed, used to run end-to-end tests, and cached.