From 0ec54078d0268ac2655b558536ee913b97effa59 Mon Sep 17 00:00:00 2001 From: Rafael Bardini Date: Sun, 5 Jul 2020 17:17:27 +0200 Subject: [PATCH] Move coverage reporter options to .nycrc.json --- .github/workflows/main.yml | 2 +- .nycrc.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .nycrc.json diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a35e3a3..3503035 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: run: npm run lint - name: Test - run: npm test -- --coverage-report=text --coverage-report=json + run: npm test - name: Coverage uses: codecov/codecov-action@v1 diff --git a/.nycrc.json b/.nycrc.json new file mode 100644 index 0000000..5f6d2d7 --- /dev/null +++ b/.nycrc.json @@ -0,0 +1,3 @@ +{ + "reporter": ["text", "lcov"] +}