egg-ci

2.2.0 • Public • Published

egg-ci

NPM version Node.js CI Test coverage npm download

Auto gen GitHub Action ci config file.

Installation

$ npm i egg-ci --save-dev

Usage

Add ci property to your package.json:

"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

Contributors


fengmk2


atian25


dead-horse


popomore


ngot


thonatos


azure-pipelines[bot]


ahungrynoob


zhennann

This project follows the git-contributor spec, auto updated at Fri Jun 03 2022 17:58:16 GMT+0800.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.2.011,835latest
1.19.13,923latest-1

Version History

VersionDownloads (Last 7 Days)Published
2.2.011,835
1.19.13,923
2.1.0559
2.0.01
1.19.073
1.18.014
1.17.01
1.16.01
1.15.026
1.14.05
1.13.11
1.13.05
1.12.04
1.11.01,098
1.10.025
1.9.23
1.9.11
1.9.01
1.8.011
1.7.01
1.6.01
1.5.01
1.4.01
1.3.01
1.2.01
1.1.01
1.0.31
1.0.21
1.0.11
1.0.02

Package Sidebar

Install

npm i egg-ci

Weekly Downloads

17,599

Version

2.2.0

License

MIT

Unpacked Size

16.7 kB

Total Files

7

Last publish

Collaborators

  • ngot
  • dead-horse
  • atian25
  • dead_horse
  • fengmk2
  • popomore
  • thonatos