npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

egg-ci

1.13.0 • Public • Published

egg-ci

NPM version build status 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', also support 'azure-pipelines'
  "os": {
    "travis": "linux", // travis support 'linux', 'osx' and 'windows' operation system, default is 'linux'
    "azure-pipelines": "linux, windows, macos" // azure-pipelines support 'linux, windows, macos', default is 'linux, windows, macos'
  },
  "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",
    "azure-pipelines": "ci"
  },
  "services": "redis-server, mysql", // custom service
  "license": false // generate license
}

How

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

License

MIT

install

npm i egg-ci

Downloadsweekly downloads

2,323

version

1.13.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability