File tree Expand file tree Collapse file tree 5 files changed +1833
-175
lines changed
projects/ngx-testing-library Expand file tree Collapse file tree 5 files changed +1833
-175
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ job_defaults : &job_defaults
4+ docker :
5+ - image : circleci/node:latest
6+ working_directory : ~/project/repo
7+
8+ cache_key : &cache_key ngx-testing-library-deps-cache-{{ .Branch }}-{{ checksum "package-lock.json" }}
9+ dist_key : &dist_key ngx-testing-library-dist
10+
11+ jobs :
12+ install :
13+ << : *job_defaults
14+ steps :
15+ - checkout
16+ - restore_cache :
17+ key : *cache_key
18+ - run :
19+ name : install-dependencies
20+ command : npm ci
21+ - save_cache :
22+ key : *cache_key
23+ paths :
24+ - node_modules
25+
26+ lint :
27+ << : *job_defaults
28+ steps :
29+ - checkout
30+ - restore_cache :
31+ key : *cache_key
32+ - run :
33+ name : lint
34+ command : npm run lint
35+
36+ test-lib :
37+ << : *job_defaults
38+ steps :
39+ - checkout
40+ - restore_cache :
41+ key : *cache_key
42+ - run :
43+ name : test
44+ command : npm run test
45+
46+ build-lib :
47+ << : *job_defaults
48+ steps :
49+ - checkout
50+ - restore_cache :
51+ key : *cache_key
52+ - run :
53+ name : test
54+ command : npm run build
55+ - save_cache :
56+ key : *dist_key
57+ paths :
58+ - dist
59+
60+ test-app :
61+ << : *job_defaults
62+ steps :
63+ - checkout
64+ - restore_cache :
65+ key : *cache_key
66+ - restore_cache :
67+ key : *dist_key
68+ - run :
69+ name : test
70+ command : npm run test:app
71+
72+ release :
73+ << : *job_defaults
74+ steps :
75+ - checkout
76+ - restore_cache :
77+ key : *cache_key
78+ - restore_cache :
79+ key : *dist_key
80+ - run :
81+ name : release
82+ command : cd dist/ngx-testing-library && npm run semantic-release || true
83+
84+ workflows :
85+ version : 2
86+ build-test-release :
87+ jobs :
88+ - install
89+ - lint :
90+ requires :
91+ - install
92+ - test-lib :
93+ requires :
94+ - install
95+ - build-lib :
96+ requires :
97+ - lint
98+ - test-lib
99+ - test-app :
100+ requires :
101+ - build-lib
102+ - release :
103+ requires :
104+ - test-app
105+ filters :
106+ branches :
107+ only : master
Original file line number Diff line number Diff line change 1+ registry = http://registry.npmjs.org/
You can’t perform that action at this time.
0 commit comments