From bc44ed3a7afa16387484927c525c1f64bc61d2e0 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Tue, 21 Feb 2023 21:34:45 -0600 Subject: [PATCH] chore: update publish_test_coverage job --- .github/workflows/lint_format_test.yaml | 4 +++- .nycrc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint_format_test.yaml b/.github/workflows/lint_format_test.yaml index 4876345..f713587 100644 --- a/.github/workflows/lint_format_test.yaml +++ b/.github/workflows/lint_format_test.yaml @@ -121,4 +121,6 @@ jobs: - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 with: - directory: ./coverage/ + token: ${{ secrets.CODECOV_TOKEN }} + files: ./coverage-final.json + directory: ./coverage diff --git a/.nycrc b/.nycrc index f7ac663..978f10c 100644 --- a/.nycrc +++ b/.nycrc @@ -8,6 +8,6 @@ "all": true, "include": ["src/**/*.ts"], "exclude": ["src/index.ts", "**/*.spec.ts"], - "reporter": ["html", "lcov", "text", "text-summary"], + "reporter": ["html", "lcov", "text", "text-summary", "json"], "report-dir": "coverage" }