Ghost/ghost/express-dynamic-redirects
Daniel Lockyer cc73c4585a Added codecov.io coverage uploader to CI
refs linear.app/tryghost/issue/CORE-74/improve-the-test-situation

- this commit adds the codecov GitHub Action into CI so we can upload
  coverage reports
- the coverage files need to be in XML for them to work with
  codecov, so this commit also adds cobertura (XML) as a reporter
2021-10-20 13:48:54 +02:00
..
lib Simplified DynamicRedirectManager's constructor interface 2021-10-12 17:21:46 +02:00
test Fixed tests 2021-10-12 17:25:52 +02:00
.eslintrc.js Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00
index.js Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00
LICENSE Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00
package.json Added codecov.io coverage uploader to CI 2021-10-20 13:48:54 +02:00
README.md Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00

Express Dynamic Redirects

Install

npm install @tryghost/express-dynamic-redirects --save

or

yarn add @tryghost/express-dynamic-redirects

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests