-
Notifications
You must be signed in to change notification settings - Fork 73
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
Local cache not working in CI pipeline #695
Comments
Facing the same issue. In CI environment node_modules/.cache/lage/cache is not generated. |
In CI environment writeRemoteCache is always set to true |
@paulius-valiunas - As a workaround, you can try re-setting CI env flag if you can do it. |
this issue is about the local cache, I don't think |
Same issue here. It seems that runAction only considers CLI argument when determining whether to skipLocalCache. Config value is ignored. The CLI --skip-local-cache argument doesn't accept false and in combination with isRunningFromCI will also result in skipping the local cache in CI environment. The only alternative I found for now is to fake NODE_ENV=test when running scripts |
@kenotron could we get some attention on this? |
Describe the bug
Local cache is not working in my CI pipeline, even though I have
skipLocalCache: false
in my config.To Reproduce
Steps to reproduce the behavior:
lage build && lage test
in the same job/stageExpected behavior
Lage should skip through the build command and only run test in the second invocation since the packages are already built.
Environment/Troubleshooting
Happens in an Azure DevOps pipeline.
envinfo
The text was updated successfully, but these errors were encountered: