Open
Description
All of our GHA's have a nyc
property within the package json. We can condense all of these to a root .nycrc
(https://github.com/istanbuljs/nyc#configuration-files) file that can contains all of the required checks require, example:
"nyc": {
"checkCoverage": true,
"extension": [
".ts"
],
"reporter": [
"text-summary",
"html"
],
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100,
"exclude": [
"dist",
"coverage",
"**/*.test.ts"
]
}
Then we don't need to have a nyc
property to any future actions it will just inherit from the root