zero-to-one-ci

1.0.0 • Public • Published

egg-ci

NPM version build status Test coverage David deps npm download

Auto gen ci config file.

Installation

$ npm i egg-ci --save-dev

Usage

Add ci property to your package.json:

"ci": {
  "type": "travis, appveyor", // default ci env type is 'travis, appveyor'
  "npminstall": true, // use `npminstall` or `npm install`, default is true
  "version": "6", // test LTS node version by default
  // npm ci command
  "command": {
    "travis": "ci",
    "appveyor": "test"
  },
  "services": "redis-server, mysql", // custom service
  "license": false // generate license
}

How

Use npm postinstall hoook to create the *.yml after each npm install run.

License

MIT

Dependents (0)

Package Sidebar

Install

npm i zero-to-one-ci

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • lovelife10000