Skip to content

Commit 10556ec

Browse files
authored
test: run jest in band on circle ci (#905)
This prevents ts-jest to flood the memory, making it horrible slow and often failing without memory
1 parent b111e8f commit 10556ec

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ commands:
3535
steps:
3636
- run:
3737
name: Test
38-
command: yarn test
38+
command: yarn test-ci
3939
save-cache:
4040
steps:
4141
- save_cache:

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"publish": "lerna publish --conventional-commits",
1717
"reinstall": "yarn clean && yarn install",
1818
"start": "lerna run start --stream --parallel --include-filtered-dependencies",
19-
"test": "jest && lerna run test --stream --parallel --include-filtered-dependencies"
19+
"test": "jest && lerna run test --stream --parallel --include-filtered-dependencies",
20+
"test-ci": "jest --runInBand && lerna run test --stream --parallel --include-filtered-dependencies"
2021
},
2122
"commitlint": {
2223
"extends": [

0 commit comments

Comments
 (0)