Skip to main content
Version: 7.x

Yarn Recipe

require 'contrib/yarn.php';

Source

Configuration

  • bin/yarn (optional): set Yarn binary, automatically detected otherwise.

Usage

after('deploy:update_code', 'yarn:install');

Configuration

bin/yarn

Source

Configuration

  • bin/yarn (optional): set Yarn binary, automatically detected otherwise.

Usage

after('deploy:update_code', 'yarn:install');
Default value
return which('yarn');

Tasks

yarn:install

Source

Installs Yarn packages.

In there is a {{previous_release}}, node_modules will be copied from it before installing deps with yarn.