CI tool for fibjs project.
npm install @fibjs/ciAuto gen ci config file.
``bash`
$ npm i @fibjs/ci --save-dev
Add ci property to your package.json:
`json`
"ci": {
// default ci env type is 'actions'
"type": "actions",
// default version is 0.33.0.
"version": "0.33.0"
}
you can check available versions here: fibjs.org/downloads/
and ci system will automatically exec npm run ci command, so please add this to your package.json:
`json`
"scritps": {
"ci": "fibjs test/test.js"
}
Use npm postinstall hoook to create the *.yml after each npm install` run.