"ci": {
"os": "linux, windows, macos",
"npminstall": false, // use `npminstall` 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
}
How
Use npm postinstall hook to create the *.yml after each npm install run.
egg-ci
Auto gen GitHub Action ci config file.
🚀 🚀 🚀 🚀 🚀 YOU SHOULD USE https://github.com/artusjs/github-actions instead. 🚀 🚀 🚀 🚀 🚀
Installation
Usage
Add
ciproperty to yourpackage.json:How
Use
npm postinstallhook to create the*.ymlafter eachnpm installrun.License
MIT
Contributors
fengmk2
atian25
dead-horse
popomore
ngot
thonatos
azure-pipelines[bot]
ahungrynoob
zhennann
This project follows the git-contributor spec, auto updated at
Fri Jun 03 2022 17:58:16 GMT+0800.