ianstormtaylor / superstruct

A simple and composable way to validate data in JavaScript (and TypeScript).
https://docs.superstructjs.org
MIT License
6.95k stars 224 forks source link

Generate code coverage reports and upload to Codecov #1249

Open yeoffrey opened 2 months ago

yeoffrey commented 2 months ago

This PR contains the changes to CI needed to generate a code coverage report and upload that code coverage report to Codecov.

This will require setting up a Codecov account for this project and adding the secret as a repository secret.

Afterwards, we can add the badge to the Readme which will display our code coverage

Part of #1244

yeoffrey commented 2 months ago

Based on my testing with my fork, we have 94% coverage 💯