- Issue created by @fjgarlin
- πͺπΈSpain fjgarlin
Due to this most likely: π Update from Yarn 1 to Yarn 4 RTBC
- πͺπΈSpain fjgarlin
See the commit: https://git.drupalcode.org/project/drupal/-/commit/ad10de38dd663cf7d6fc0...
Images have not changed nor need changing, just the way to call some things.
- Status changed to Needs review
3 months ago 11:29am 18 March 2024 - πͺπΈSpain fjgarlin
Ready to review.
MR: https://git.drupalcode.org/project/gitlab_templates/-/merge_requests/157
Pipeline: https://git.drupalcode.org/project/gitlab_templates/-/pipelines/122312It all seems to work for current, future, and past versions using the alternative syntax for the yarn command.
- π―π΅Japan ultrabob Japan
Confirm I am running into this, just trying to get gitlab-ci configured for my module including next major version. My module doesn't have a package.json, so the failure seems unrelated to the module itself.
- Status changed to RTBC
3 months ago 11:11am 19 March 2024 - π¬π§United Kingdom longwave UK
Yes, this should work.
corepack enable
only has to be run once and then the change is permanent (inside the container/environment at least) so ideally we can get this enabled in the base container and then the scripts can become simpler. Once this is done by defaultyarn
uses Yarn 1 but will automatically switch if apackageManager
key is set in package.json, which is what we have done in core for Yarn 4 in Drupal 11. -
fjgarlin β
committed 9fd5c8c8 on main
Issue #3431269 by fjgarlin, longwave: Yarn install fails in "composer (...
-
fjgarlin β
committed 9fd5c8c8 on main
- Status changed to Fixed
3 months ago 11:31am 19 March 2024 - πͺπΈSpain fjgarlin
Merged. Marking as fixed. I will create a new release with this change as it breaks existing integrations.
Automatically closed - issue fixed for 2 weeks with no activity.