Install new versions of Yarn
Find the latest version from https://github.com/yarnpkg/berry/releases/latest
Install using the community.general.npm:
- name: Yarn present
community.general.npm:
name: yarn
global: true
Enable corepack
and set the version as per the Mastodon instructions:
corepack enable
yarn set version stable
Install packages using the Yarn module.
Edited by Chris Croome