Socket
Socket
Sign inDemoInstall

egg-ci

Package Overview
Dependencies
Maintainers
7
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-ci

Auto gen ci config file


Version published
Weekly downloads
18K
increased by3.99%
Maintainers
7
Weekly downloads
 
Created
Source

egg-ci

NPM version build status Build Status Test coverage David deps npm download

Auto gen ci config file.

Installation

$ npm i egg-ci --save-dev

Usage

Add ci property to your package.json:

"ci": {
  "type": "travis, appveyor", // default ci env type is 'travis, appveyor', also support 'azure-pipelines'
  "os": {
    "travis": "linux", // travis support 'linux', 'osx' and 'windows' operation system, default is 'linux'
    "azure-pipelines": "linux, windows, macos", // azure-pipelines support 'linux, windows, macos', default is 'linux, windows, macos'
    "github": "linux, windows, macos"
  },
  "npminstall": true, // use `npminstall` or `npm install`, default is true
  "version": "8, 10, 12", // test LTS node version by default
  // npm ci command
  "command": {
    "travis": "ci",
    "appveyor": "test",
    "azure-pipelines": "ci",
    "github": "ci"
  },
  "services": "redis-server, mysql", // custom service
  "license": false // generate license
}

How

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

License

MIT

Keywords

FAQs

Package last updated on 02 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc