Closed MikeMcC399 closed 3 months ago
Preview
Force pushed with no changes to test caching on subsequent runs. Test was successful.
:tada: This PR is included in version 6.7.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Issue
Workflows such as .github/workflows/example-basic-pnpm.yml, which attempt to cache the contents of the pnpm store, fail sporadically, especially after there has been a change in the version of Cypress and where pnpm workflow jobs are running in parallel.
If the cache of the pnpm store cache is loaded with the
cypress
module, through steps outside of the Cypress GitHub action, and the Cypress binary has not been successfully cached by the action, then Cypress fails with a verification error.There is no mechanism available to coordinate these two different caching mechanisms. (See also https://github.com/cypress-io/github-action/issues/1179#issuecomment-2125265169 for further explanation.)
Change
pnpm store caching is removed from the documentation:
README > pnpm
and replaced by text which recommends against this caching.
The following workflows are amended accordingly:
Related