Use new codecov uploader via Circle ORB (#341)
This commit is contained in:
parent
685446dde2
commit
7236f4a985
|
@ -14,6 +14,9 @@
|
|||
#
|
||||
version: 2.1
|
||||
|
||||
orbs:
|
||||
codecov: codecov/codecov@3.2.0
|
||||
|
||||
references:
|
||||
nodejs_current: &nodejs_current "10"
|
||||
repo_path: &repo_path ~/webextension-polyfill
|
||||
|
@ -94,9 +97,7 @@ commands:
|
|||
command: npm run test-coverage
|
||||
- store_artifacts:
|
||||
path: coverage
|
||||
- run:
|
||||
name: publish coverage data
|
||||
command: npm run publish-coverage
|
||||
- codecov/upload
|
||||
- run_test_minified
|
||||
- run_test_bundlers
|
||||
- run_functional_tests
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
"browserify": "17.0.0",
|
||||
"chai": "4.3.4",
|
||||
"chromedriver": "90.0.0",
|
||||
"codecov": "3.8.2",
|
||||
"cross-env": "7.0.3",
|
||||
"eslint": "7.25.0",
|
||||
"finalhandler": "1.1.2",
|
||||
|
@ -60,7 +59,6 @@
|
|||
"scripts": {
|
||||
"build": "grunt",
|
||||
"prepublish": "npm run build && npm run test",
|
||||
"publish-coverage": "codecov",
|
||||
"test": "mocha",
|
||||
"test-coverage": "cross-env COVERAGE=y nyc mocha",
|
||||
"test-minified": "cross-env TEST_MINIFIED_POLYFILL=1 mocha",
|
||||
|
|
Loading…
Reference in New Issue