Ghost/ghost/security
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
test Corrected "declared in uppper scope" linting errors 2020-09-22 15:33:30 +12:00
.eslintrc.js
index.js
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

Security

Install

npm install @tryghost/security --save

or

yarn add @tryghost/security

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.