Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eggjs/egg-ci
Auto gen ci config file
https://github.com/eggjs/egg-ci
ci egg egg-ci
Last synced: 7 days ago
JSON representation
Auto gen ci config file
- Host: GitHub
- URL: https://github.com/eggjs/egg-ci
- Owner: eggjs
- License: mit
- Created: 2016-06-18T07:28:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T01:15:20.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T02:28:56.324Z (7 months ago)
- Topics: ci, egg, egg-ci
- Language: JavaScript
- Homepage:
- Size: 94.7 KB
- Stars: 15
- Watchers: 24
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
- License: LICENSE
Awesome Lists containing this project
- awesome-egg - egg-ci - Auto gen ci config file. ![](https://img.shields.io/github/stars/eggjs/egg-ci.svg?style=social&label=Star) ![](https://img.shields.io/npm/dm/egg-ci.svg?style=flat-square) (δ»εΊ / ζδ»Ά)
README
egg-ci
---------------[![NPM version][npm-image]][npm-url]
[![Node.js CI](https://github.com/eggjs/egg-ci/actions/workflows/nodejs.yml/badge.svg)](https://github.com/eggjs/egg-ci/actions/workflows/nodejs.yml)
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url][npm-image]: https://img.shields.io/npm/v/egg-ci.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-ci
[codecov-image]: https://codecov.io/github/eggjs/egg-ci/coverage.svg?branch=master
[codecov-url]: https://codecov.io/github/eggjs/egg-ci?branch=master
[download-image]: https://img.shields.io/npm/dm/egg-ci.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-ciAuto gen [GitHub Action](https://github.com/features/actions) ci config file.
π π π π π YOU SHOULD USE https://github.com/artusjs/github-actions instead. π π π π π
## Installation
```bash
$ npm i egg-ci --save-dev
```## Usage
Add `ci` property to your `package.json`:
```js
"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.
## License
[MIT](LICENSE)
## Contributors
|[
fengmk2](https://github.com/fengmk2)
|[
atian25](https://github.com/atian25)
|[
dead-horse](https://github.com/dead-horse)
|[
popomore](https://github.com/popomore)
|[
ngot](https://github.com/ngot)
|[
thonatos](https://github.com/thonatos)
|
| :---: | :---: | :---: | :---: | :---: | :---: |
[
azure-pipelines[bot]](https://github.com/apps/azure-pipelines)
|[
ahungrynoob](https://github.com/ahungrynoob)
|[
zhennann](https://github.com/zhennann)This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Fri Jun 03 2022 17:58:16 GMT+0800`.