Skip to content

fibjs-modules/ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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