Ghost/ghost/errors
Daniel Lockyer 81f566b44a 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 11:56:20 +02:00
..
lib Switch to ES6 classes for errors, use @tryghost/ignition errors 2021-06-17 10:26:19 +01:00
test Remove trailing commas from .eslintrc.js files 2020-08-04 14:48:07 +01:00
.eslintrc.js Remove trailing commas from .eslintrc.js files 2020-08-04 14:48:07 +01:00
index.js Updated paths & tests to work in new pkg structure 2020-03-25 10:24:33 +00:00
LICENSE 2021 2021-01-25 16:20:43 +00:00
package.json Added codecov.io coverage uploader to CI 2021-10-20 11:56:20 +02:00
README.md 2021 2021-01-25 16:20:43 +00:00

Errors

Install

npm install @tryghost/errors --save

or

yarn add @tryghost/errors

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

Copyright & License

Copyright (c) 2013-2021 Ghost Foundation - Released under the MIT license.