- 
                Notifications
    You must be signed in to change notification settings 
- Fork 365
Closed
Labels
topic: caching 📦unexpected behaviorUser expected result, but got anotherUser expected result, but got another
Description
Branching out my case from #1054
I added the cypess GH action a few days ago in this repo and it has run fine, until I open a PR with a version bump to a package in the monorepo and it suddenly decided to fail on the cypress binary being missing.
I've tried the following solutions after looking through old issues here:
- Add PNPM cache
- Add Cypress binary cache
- Switch cypress gh action to install: true
- Tried working-dir:withpnpm commandinstead ofpnpm --dir workdir command
Neither yield any different result. Still:
> @tidal-music/[email protected] internal:cypress:run /home/runner/work/tidal-sdk-web/tidal-sdk-web/packages/player
> pnpm cypress run
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.6.6/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.
https://on.cypress.io/not-installed-ci-error
Mr PR with alot of different commits where I've tried different combos: tidal-music/tidal-sdk-web#80
I hope someone is able to help finding out the issue :)
melroy89
Metadata
Metadata
Assignees
Labels
topic: caching 📦unexpected behaviorUser expected result, but got anotherUser expected result, but got another