-
Notifications
You must be signed in to change notification settings - Fork 51
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
Support yarn v2+ #24
Comments
Nx at the moment does not support fully yarn berry, so even if you would fix this there's a chance your install would not work. Hopefully, we will have the support soon. |
It's actually working: https://github.com/Wykks/ngx-mapbox-gl/actions/runs/2810203839 I'm aware that nx doesn't support yarn berry fully because of pnp mode. Welp, I can live with no cache :) |
The current version of yarn berry (3.2.4) and cache check doesn't work anymore: |
@Michsior14 cache check never worked, check #24 (comment) That's why the issue is still open. Hopefully we'll get to it soon |
@meeroslav Yep I know, what I meant is that it was working fine (without the cache) in the past, but since v3.2.4 the pipelines fails due to the wrong command in the cache check. Sorry for confusion ;) |
Oh, ok, we'll have a look at it as soon as possible |
I noticed a cache issue with yarn v2+:
ci/.github/workflows/nx-cloud-agents.yml
Lines 123 to 126 in 38a6996
yarn cache dir
doesn't exist in yarn 2+This should be done instead:
https://github.com/actions/cache/blob/main/examples.md#node---yarn-2
Edit: also
--immutable
should be used instead of--frozen-lockfile
at the install stepThe text was updated successfully, but these errors were encountered: