diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9e65f3..cf2777c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - run: npm ci - run: npm test - - run: npm install --save-dev eslint@7 && npm test + - run: npm install --save-dev eslint@7 && npm run test:unit - name: Coveralls uses: coverallsapp/github-action@master diff --git a/package.json b/package.json index 937eed2..b88072d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "lint:js": "eslint --cache --report-unused-disable-directives .", "preversion": "npm test", "report-coverage-html": "nyc report --reporter=html --report-dir build/coverage", - "test": "nyc mocha tests/**/*.js", + "test": "npm-run-all lint test:unit", + "test:unit": "nyc mocha tests/**/*.js", "update:eslint-docs": "eslint-doc-generator --url-configs \"https://github.com/platinumazure/eslint-plugin-qunit/blob/master/README.md#configurations\"", "version": "node build/generate-release-changelog.js" },