Skip to content

Commit 095a9ed

Browse files
committed
improvements test runner
1 parent b8803bd commit 095a9ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
yarn install
2222
yarn lint
2323
yarn run build
24-
yarn test
24+
yarn test --maxWorkers=50%
2525
env:
2626
CI: true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"lint": "yarn lint:eslint && yarn lint:format",
3737
"lint:eslint": "eslint . --ext .ts --fix --cache --quiet",
3838
"lint:format": "prettier --write '**/*.{ts,js,json,md,yml}'",
39-
"test": "jest",
39+
"test": "jest --roots ./lib/",
4040
"test:coverage": "jest --coverage",
4141
"prepack": "yarn build",
4242
"clean": "rimraf dist l2 agent",

0 commit comments

Comments
 (0)