Skip to content

Add a root .nycrc file #109

Open
Open
@Zidious

Description

@Zidious

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    TYPE: automationWork done on ci (github action, circleci, etc)TYPE: tech-debtTicket is to make previous decisions more sustainable

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions