diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b5deefaa26..4a24e1d601 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,9 +22,6 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install - run: npm test - if: matrix.os != 'windows-latest' - - run: npx ava - if: matrix.os == 'windows-latest' - uses: codecov/codecov-action@v1 if: matrix.os == 'ubuntu-latest' && matrix.node-version == 14 with: diff --git a/package.json b/package.json index 690e7b8c30..508398ffe3 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "node": ">=10" }, "scripts": { - "test": "xo && nyc ava", + "test": "xo && c8 ava", "create-rule": "node ./scripts/create-rule.mjs && npm run generate-rules-table", "run-rules-on-codebase": "node ./test/run-rules-on-codebase/lint.mjs", "integration": "node ./test/integration/test.mjs", @@ -59,6 +59,7 @@ "@typescript-eslint/parser": "^4.21.0", "ava": "^3.15.0", "babel-eslint": "^10.1.0", + "c8": "7.7.1", "chalk": "^4.1.0", "enquirer": "2.3.6", "eslint": "^7.23.0", @@ -69,7 +70,6 @@ "listr": "^0.14.3", "lodash-es": "4.17.21", "mem": "8.1.0", - "nyc": "^15.1.0", "outdent": "^0.8.0", "pify": "^5.0.0", "typescript": "^4.2.3",