Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 649 Bytes

readme.md

File metadata and controls

40 lines (27 loc) · 649 Bytes

@fibjs/ci

Auto gen ci config file.

Installation

$ npm i @fibjs/ci --save-dev

Usage

Add ci property to your package.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:

"scritps": {
  "ci": "fibjs test/test.js"
}

How

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

License

MIT