Yarn plugin for PHPCI
A plugin for PHPCI to download and install npm packages required by your application.
- Navigate to your PHPCI root directory and run
composer require hammock/yarn-phpci-plugin
- If you are using the PHPCI daemon, restart it
- Update your
phpci.yml
in the project you want to deploy with
- yarn needs to be installed.
- command [string, require] - Command name. See docs
- directory [string, optional] - Relative path to run yarn command in.
- flags [list, optional] - Command flags
Hammock\PHPCI\Yarn:
command: install