npm-install
npm-install copied to clipboard
Yarn v3
Thanks for the great action, When i use it with yarn v3 berry - it is not re-using the cache. Any guide on how to get it working with yarn v3 berry
Thanks!
Hi, for me it doesn't even work when no package-lock.json
is not set, does it work for you with just a yarn.lock? See https://github.com/remix-run/remix/issues/683#issuecomment-1130176988
Edit: I got it: in a monorepo you cannot have a yarn.lock
at app level, because that would prevent hoisting completely. So I need a way to force reinstalling or generate an app-level yarn.lock
So basically I don't have yarn.lock
in this scenario :/
To sum it up in a monorepo setup with Yarn 3 workspaces, you might want to at least have a fallback strategy that just run Yarn when no lockfile is found.
Is there any progress on this the only way I have found to bypass the issue is to use the no lockfile flag.
take a look at my techstack mono repo, that is working