hammock/phpci-yarn-plugin

yarn 集成 PHPCI 插件

v0.0.2 2018-02-26 11:46 UTC

This package is not auto-updated.

Last update: 2024-10-02 10:22:26 UTC


README

这是一个为 PHPCI 定制的插件,用于下载和安装应用程序所需的 npm 包。

安装插件

  1. 导航到 PHPCI 的根目录,并运行 composer require hammock/yarn-phpci-plugin
  2. 如果您正在使用 PHPCI 守护进程,请重启它
  3. 更新您要部署的项目中的 phpci.yml

先决条件

  1. yarn 需要已安装。

插件选项

  • command [字符串,必需] - 命令名称。见 文档
  • directory [字符串,可选] - 运行 yarn 命令的相对路径。
  • flags [列表,可选] - 命令标志

PHPCI 配置

    Hammock\PHPCI\Yarn:
        command: install