Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.12 KB

File metadata and controls

59 lines (36 loc) · 1.12 KB

Yarn Recipe

require 'contrib/yarn.php';

Source

Configuration

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

Usage

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

Configuration

bin/yarn

Source

Configuration

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

Usage

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

Tasks

yarn:install {#yarn-install}

Source

Installs Yarn packages.

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

yarn:build {#yarn-build}

Source

Runs Yarn build.