Skip to content
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 v3 #114

Open
meabed opened this issue Oct 19, 2021 · 3 comments
Open

Yarn v3 #114

meabed opened this issue Oct 19, 2021 · 3 comments

Comments

@meabed
Copy link

meabed commented Oct 19, 2021

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!

@eric-burel
Copy link

eric-burel commented May 18, 2022

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 remix-run/remix#683 (comment)

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.

@The-Code-Monkey
Copy link

Is there any progress on this the only way I have found to bypass the issue is to use the no lockfile flag.

@The-Code-Monkey
Copy link

take a look at my techstack mono repo, that is working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants