summaryrefslogtreecommitdiff
path: root/.nycrc
diff options
context:
space:
mode:
authorbcoe <bencoe@google.com>2020-10-14 19:21:17 -0700
committerRich Trott <rtrott@gmail.com>2020-10-17 04:27:01 -0700
commitbb2945ed6b8e7cc94d485de6cb8377885ee352c4 (patch)
tree87a980e77bf1c5b3cfc646cf8eba6b76a6e67331 /.nycrc
parent35a69461937880ab8bdd38532a6460b7dce6da19 (diff)
downloadios-node-v8-bb2945ed6b8e7cc94d485de6cb8377885ee352c4.tar.gz
ios-node-v8-bb2945ed6b8e7cc94d485de6cb8377885ee352c4.tar.bz2
ios-node-v8-bb2945ed6b8e7cc94d485de6cb8377885ee352c4.zip
build: add GitHub Action for code coverage
PR-URL: https://github.com/nodejs/node/pull/35653 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Diffstat (limited to '.nycrc')
-rw-r--r--.nycrc20
1 files changed, 17 insertions, 3 deletions
diff --git a/.nycrc b/.nycrc
index c826fbc02d..6192a73a77 100644
--- a/.nycrc
+++ b/.nycrc
@@ -1,7 +1,21 @@
{
"exclude": [
- "**/internal/process/write-coverage.js"
+ "coverage/**",
+ "test/**",
+ "tools/**",
+ "benchmark/**",
+ "deps/**"
],
- "compact": false,
- "reporter": ["html", "text"]
+ "reporter": [
+ "html",
+ "text",
+ "lcov"
+ ],
+ "lines": 95,
+ "branches": "93",
+ "statements": "95",
+ "temp-directory": "coverage/tmp",
+ "omit-relative": false,
+ "resolve": "./lib",
+ "wrapper-length": 0
}