Skip to main content
Version: 7.x

yarn

Source

Installing

Add to your deploy.php

require 'contrib/yarn.php';

Configuration

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

Usage

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

Configuration

bin/yarn

Source

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.



Support Deployer ❤️

Hello, my name is Anton Medvedev (@antonmedv). I'm the creator of the Deployer.
I maintain this open source project in my spare time.
Supporters on GitHub give me extra motivation to work on the project.