File tree Expand file tree Collapse file tree 1 file changed +18
-22
lines changed
Expand file tree Collapse file tree 1 file changed +18
-22
lines changed Original file line number Diff line number Diff line change @@ -42,25 +42,6 @@ aliases:
4242 docker :
4343 - image : circleci/node:10-browsers
4444 working_directory : ~/repo
45- - &setup_steps
46- - *restore_git_cache
47- - checkout
48- - run : npm ci
49- - &test_steps
50- - run :
51- name : Lint
52- command : npm run test:lint -- --quiet --output-file test-results/eslint-results.xml --format junit
53- - run :
54- name : Unit
55- environment :
56- JEST_JUNIT_OUTPUT_NAME : unit-results.xml
57- command : npm run test:unit -- --reporters="default" --reporters="jest-junit" --coverage --coverageReporters=text --coverageReporters=lcov --maxWorkers="2"
58- - store_artifacts :
59- path : coverage
60- - &build_steps
61- - run :
62- name : Build
63- command : npm run build
6445
6546jobs :
6647 build-test-no-cache :
7051 NODE_ENV : production
7152 NODE_OPTIONS : --max-old-space-size=4000
7253 steps :
73- - *setup_steps
74- - *test_steps
75- - *build_steps
54+ - *restore_git_cache
55+ - checkout
56+ - run : npm ci
57+ - run :
58+ name : Lint
59+ command : npm run test:lint -- --quiet --output-file test-results/eslint-results.xml --format junit
60+ - run :
61+ name : Unit
62+ environment :
63+ JEST_JUNIT_OUTPUT_NAME : unit-results.xml
64+ command : npm run test:unit -- --reporters="default" --reporters="jest-junit" --coverage --coverageReporters=text --coverageReporters=lcov --maxWorkers="2"
65+ - run :
66+ name : Build
67+ command : npm run build
68+ - store_artifacts :
69+ path : coverage
70+ - store_test_results :
71+ path : test-results
7672 setup :
7773 << : *defaults
7874 steps :
You can’t perform that action at this time.
0 commit comments