Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fibjs-modules/ci

Auto gen ci config files for fibjs project
https://github.com/fibjs-modules/ci

appveyor ci fibjs travis-ci

Last synced: about 1 month ago
JSON representation

Auto gen ci config files for fibjs project

Awesome Lists containing this project

README

        

# @fibjs/ci

Auto gen ci config file.

## Installation

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

## Usage

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/](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"
}
```

## How

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

## License

[MIT](LICENSE)