Install with composer
composer require deployer/recipes --dev
Add to your deploy.php
require 'recipe/yarn.php';
- bin/yarn (optional): set Yarn binary, automatically detected otherwise.
yarn:install
Install Yarn packages
after('deploy:update_code', 'yarn:install');