Auto gen ci config file
npm install egg-ciegg-ci
---------------
[![NPM version][npm-image]][npm-url]

[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]
[npm-image]: https://img.shields.io/npm/v/egg-ci.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-ci
[codecov-image]: https://codecov.io/github/eggjs/egg-ci/coverage.svg?branch=master
[codecov-url]: https://codecov.io/github/eggjs/egg-ci?branch=master
[download-image]: https://img.shields.io/npm/dm/egg-ci.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-ci
Auto gen GitHub Action ci config file.
``bash`
$ npm i egg-ci --save-dev
Add ci property to your package.json:
`jsnpminstall
"ci": {
"os": "linux, windows, macos",
"npminstall": false, // use or npm install, default is false`
"version": "14, 16, 18", // test LTS node version by default
// npm ci command
"command": "ci",
// custom service, only support on "linux" os, if you enable service, os will set to "linux" only
"service": {
"mysql": {
"version": "8"
},
"redis-server": {
"version": "6"
}
},
"license": false // generate license
}
Use npm postinstall hook to create the *.yml after each npm install run.
|
fengmk2
|
atian25
|
dead-horse
|
popomore
|
ngot
|
thonatos
|
| :---: | :---: | :---: | :---: | :---: | :---: |
[
azure-pipelines[bot]](https://github.com/apps/azure-pipelines)
|
ahungrynoob
|
zhennann
This project follows the git-contributor spec, auto updated at Fri Jun 03 2022 17:58:16 GMT+0800`.