diff --git a/.github/workflows/test-node.yml b/.github/workflows/test-node.yml index 762215c..063b51d 100644 --- a/.github/workflows/test-node.yml +++ b/.github/workflows/test-node.yml @@ -33,12 +33,10 @@ jobs: - run: bare-make build - run: bare-make install - run: npm test - - run: bare test/all.js - run: bare-make generate --debug --no-cache - run: bare-make build - run: bare-make install - run: npm test - - run: bare test/all.js trigger_canary: if: startsWith(github.ref, 'refs/tags/') # Only run when a new package is published (detects when a new tag is pushed) runs-on: ubuntu-latest diff --git a/package.json b/package.json index a81617f..e9fd24a 100644 --- a/package.json +++ b/package.json @@ -22,10 +22,13 @@ }, "addon": true, "scripts": { - "test": "standard && node test/all.js", - "test:all": "standard && brittle test/*.js test/slow/*.js", + "test": "npm run lint && npm run test:bare && npm run test:node", + "test:node": "node test/all.js", + "test:bare": "bare test/all.js", + "test:all": "brittle test/*.js test/slow/*.js", "test:generate": "brittle -r test/all.js test/*.js", - "bench": "brittle test/bench/*.js" + "bench": "brittle test/bench/*.js", + "lint": "standard" }, "repository": { "type": "git",