包详细信息

egg-ci

eggjs81.3kMIT2.2.0

Auto gen ci config file

egg, github action, ci

自述文件

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.

更新日志

2.2.0 / 2022-10-29

features

others

2.1.0 / 2022-06-03

others

2.0.0 / 2022-06-03

others

1.19.0 / 2021-09-16

features

others

1.18.0 / 2020-09-08

features

1.17.0 / 2020-09-02

features

1.16.0 / 2020-09-01

features

1.15.0 / 2020-04-22

features

1.14.0 / 2020-03-27

features

1.13.1 / 2019-11-04

fixes

1.13.0 / 2019-07-23

features

1.12.0 / 2019-05-08

features

1.11.0 / 2018-12-18

  • feat: update default version to 6, 8, 10 (#26)
  • test: add node 11 (#25)

1.10.0 / 2018-10-19

others

1.9.2 / 2018-09-25

fixes

1.9.1 / 2018-09-20

fixes

1.9.0 / 2018-09-20

features

others

1.8.0 / 2017-06-20

  • feat: run test instead of ci on appveyor (#16)

1.7.0 / 2017-06-03

  • feat: allow disable after script (#15)

1.6.0 / 2017-03-22

  • feat:support appveyor service (#13)
  • doc:cn readme (#14)

1.5.0 / 2017-03-05

  • feat: year is the start year (#11)

1.4.0 / 2017-03-05

  • feat: support custom command (#12)

1.3.0 / 2017-03-01

  • fix: don't generate LICENSE by default (#10)
  • feat: support services (#9)

1.2.0 / 2017-02-26

  • feat: generate LICENSE (#8)

1.1.0 / 2016-11-11

  • feat: add 6 to defaults && update deps (#6)

1.0.3 / 2016-07-17

  • deps: eslint-config-egg@3 (#4)
  • fix: use npminstall to install codecov (#3)

1.0.2 / 2016-06-19

  • fix: package name is no scope (#2)
  • feat: support array versions (#1)

1.0.1 / 2016-06-18

  • fix: support appveyor and travis both

1.0.0 / 2016-06-18

  • init version