You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've been trying to work out how to fix this issue within the github CI. I've tried several different methods, especially coming from this issue.
cypress run --browser chrome "--spec=cypress/e2e/app1"
The cypress npm package is installed, but the Cypress binary is missing.
We expected the binary to be installed here: /home/runner/.cache/Cypress/13.9.0/Cypress/Cypress
Reasons it may be missing:
- You're caching 'node_modules' but are not caching this path: /home/runner/.cache/Cypress
- You ran 'npm install' at an earlier build step but did not persist: /home/runner/.cache/Cypress
Properly caching the binary will fix this error and avoid downloading and unzipping Cypress.
Alternatively, you can run 'cypress install' to download the binary again.
The text was updated successfully, but these errors were encountered:
I don't see you using cypress-io/github-action in your workflow. Did you miss this out from your posting or aren't you using it?
The best advice is to add pnpm cypress install into your workflow. If the Cypress binary is already installed, then it skips the installation. If it is not installed, then it installs it.
You should key off the lock file, not package.json.
You should check if you should be using actions/cache@v4 not v3. You may otherwise get a deprecation warning.
Hello, I've been trying to work out how to fix this issue within the github CI. I've tried several different methods, especially coming from this issue.
Here is my current yml file:
Here is the error I'm getting in the CI:
The text was updated successfully, but these errors were encountered: