From c258720a0e1d59f43d5e8310da8f64968fb8083a Mon Sep 17 00:00:00 2001 From: hyj1991 Date: Mon, 19 Apr 2021 09:36:08 +0800 Subject: [PATCH] fix: ignore codecov.io reporting failure --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 320a69d..5f7b765 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "cov": "nyc --reporter=html --reporter=text --reporter=lcov mocha -R spec test/*.test.js test/patch/*.test.js --timeout 0", "cov-single": "nyc --reporter=html --reporter=text --reporter=lcov mocha --timeout 0 -R spec", "upload": "node scripts/upload.js", - "ci": "npm run lint && npm run build && npm run cov && codecov && npm run upload", + "codecov": "codecov || echo 'warning: ignoring codecov failure'", + "ci": "npm run lint && npm run build && npm run cov && npm run codecov && npm run upload", "dep": "npm run build && npm run cov", "release": "node scripts/release.js", "autod": "autod" @@ -79,4 +80,4 @@ "win32": "xprofiler-ctl" }, "blurryTag": "__" -} +} \ No newline at end of file