diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 093a954..6a69d26 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -1,7 +1,7 @@ # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs -name: Node.js CI +name: CI on: push: diff --git a/package.json b/package.json index dab4b48..e2e8456 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "scripts": { "lint": "eslint \"lib/**/*.js\" \"test/**/*.js\" \"bin/wait-on\"", "publish:next": "npm publish --tag next && npm view", - "test": "mocha --exit 'test/**/*.mocha.js'" + "test": "npm run lint && npm run test:mocha", + "test:mocha": "mocha --exit 'test/**/*.mocha.js'" }, "engines": { "node": ">=12.0.0"