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:
42
42
docker :
43
43
- image : circleci/node:10-browsers
44
44
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
64
45
65
46
jobs :
66
47
build-test-no-cache :
70
51
NODE_ENV : production
71
52
NODE_OPTIONS : --max-old-space-size=4000
72
53
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
76
72
setup :
77
73
<< : *defaults
78
74
steps :
You can’t perform that action at this time.
0 commit comments