diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70920fb9..870f68fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,11 @@ jobs: run: yarn install --frozen-lockfile - name: Run Tests run: yarn node-test-with-coverage + - uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} + floating: name: "Floating Dependencies" diff --git a/package.json b/package.json index a6505b03..f25295d5 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "scripts": { "lint": "eslint .", "node-test": "mocha test/**/*.js", - "node-test-with-coverage": "nyc --reporter lcov npm run-script node-test && node_modules/.bin/codecov", + "node-test-with-coverage": "nyc --reporter lcov npm run-script node-test", "start": "ember serve", "test": "npm run-script lint && npm run-script node-test" },