diff --git a/.circleci/config.yml b/.circleci/config.yml index a2b411d..57f5f36 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/package.json b/package.json index 5a861ef..0bf67bd 100644 --- a/package.json +++ b/package.json @@ -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",