Yarn install fails in "composer (next major)" job

Issue information

From user: fjgarlin

Related to !157 (merged)

Contribution record

Fork management

Problem/Motivation

I noticed failures in the composer (next major) job here: https://git.drupalcode.org/project/decoupled_pages/-/jobs/1092114 (pipeline here: https://git.drupalcode.org/project/decoupled_pages/-/pipelines/122111).

$ yarn --cwd $_WEB_ROOT/core install
yarn install v1.22.19
[1/5] Validating package.json...
error Drupal@: The engine "yarn" is incompatible with this module. Expected version ">= 4.1.1". Got "1.22.19"
error Found incompatible module.

Maybe core bumped its yarn/node version requirements recently?

Proposed resolution

See if we need to upgrade the images or maybe do something to just upgrade yarn within the templates.

Remaining tasks

MR.

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information