-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yarn cache not found #453
Comments
Hello @mrlubos. Thank you for your report. I think it can be related to the cache scope:
If it's not relevant to you, could you please provide a public repository to reproduce the issue. |
@dmitry-shibanov Thank you for your reply! I believe I used to use |
Sorry for possible misunderstanding. Internally both actions/cache and actions/setup-node use toolkit/cache. The same rule for cache sharing applies to the setup-node action. |
Hello @mrlubos, just a gentle ping. |
Hello @mrlubos. For now I'm going to close the issue, because it looks like the expected behaviour. If you have any concerns feel free to ping us. |
Description:
Opening a pull request and pushing changes to it does not cache dependencies, even if the lock file hasn't been affected at all.
Action version:
v3.0.0
Platform:
Runner type:
Tools version:
Repro steps:
Using a Github CI workflow that looks like this:
Produces this log file for setup-node action:
Expected behavior:
Pushing to the same pull request should trigger a new run that uses dependencies from the previous run, regardless of its completion status.
Actual behavior:
Every commit causes
yarn install
to take multiple minutes due to missing cacheThe text was updated successfully, but these errors were encountered: