diff --git a/.github/workflows/node.yaml b/.github/workflows/node.yaml index b80fd58..2b88d30 100644 --- a/.github/workflows/node.yaml +++ b/.github/workflows/node.yaml @@ -18,7 +18,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm ci - - run: npm run prettier + - run: npm run test-style continue-on-error: true - run: npm run test-types continue-on-error: true diff --git a/package.json b/package.json index 553717a..46264cd 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,10 @@ }, "scripts": { "prettier": "prettier --write lib test", - "test": "prettier --check lib test && npm run test-types && npm run test-unit", - "test-unit": "mocha --ui tdd test/**/*.js", - "test-types": "tsc -p tsconfig.json" + "test": "npm run test-style && npm run test-types && npm run test-unit", + "test-style": "prettier --check lib test", + "test-types": "tsc -p tsconfig.json", + "test-unit": "mocha --ui tdd test/**/*.js" }, "files": [ "lib",