Yarn recipe

Installing

Install with composer

composer require deployer/recipes --dev

Add to your deploy.php

require 'recipe/yarn.php';

Configuration

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

Tasks

  • yarn:install Install Yarn packages

Usage

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