File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ aliases:
40
40
- v1-npm-
41
41
- &defaults
42
42
docker :
43
- - image : circleci/node:8.16 -browsers
43
+ - image : circleci/node:10 -browsers
44
44
working_directory : ~/repo
45
45
46
46
jobs :
76
76
name : Unit
77
77
environment :
78
78
JEST_JUNIT_OUTPUT_DIR : test-results/unit
79
- command : npm run test:unit -- --reporters="default" --reporters="jest-junit" --coverage --coverageReporters=text --coverageReporters=lcov
79
+ command : npm run test:unit -- --reporters="default" --reporters="jest-junit" --coverage --coverageReporters=text --coverageReporters=lcov --maxWorkers="2"
80
80
- store_artifacts :
81
81
path : coverage
82
82
- store_test_results :
@@ -123,7 +123,7 @@ jobs:
123
123
JEST_JUNIT_OUTPUT_DIR : test-results/integration
124
124
command : |
125
125
export TESTFILES=$(circleci tests glob "test/integration/*.test.js" | circleci tests split --split-by=timings)
126
- $(npm bin)/jest ${TESTFILES} --reporters="default" --reporters="jest-junit"
126
+ $(npm bin)/jest ${TESTFILES} --reporters="default" --reporters="jest-junit" --runInBand
127
127
- store_test_results :
128
128
path : test-results
129
129
@@ -162,7 +162,7 @@ jobs:
162
162
git config --global user.email $(git log --pretty=format:"%ae" -n1)
163
163
git config --global user.name $(git log --pretty=format:"%an" -n1)
164
164
- run : npm run deploy -- -e $CIRCLE_BRANCH
165
-
165
+
166
166
workflows :
167
167
version : 2
168
168
build-test-deploy :
You can’t perform that action at this time.
0 commit comments