File tree Expand file tree Collapse file tree 1 file changed +133
-0
lines changed Expand file tree Collapse file tree 1 file changed +133
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ jobs :
4
+ setup :
5
+ docker :
6
+ # specify the version you desire here
7
+ - image : circleci/node:8
8
+
9
+ working_directory : ~/ant-design
10
+
11
+ steps :
12
+ - checkout
13
+
14
+ # Download and cache dependencies
15
+ - restore_cache :
16
+ keys :
17
+ - npm-cache
18
+ # fallback to using the latest cache if no exact match is found
19
+
20
+ - run : npm install
21
+ - run : node -v
22
+ - run : npm -v
23
+
24
+ - save_cache :
25
+ paths :
26
+ - ~/.npm
27
+ key : npm-cache
28
+
29
+ install-react :
30
+ steps :
31
+ - ./scripts/install-react.sh
32
+
33
+ lint :
34
+ steps :
35
+ # run tests!
36
+ - run : npm run lint
37
+
38
+ test-dist :
39
+ steps :
40
+ - run : npm run dist
41
+ - run : node ./tests/dekko/dist.test.js
42
+ - run : REACT=16 LIB_DIR=dist npm test
43
+
44
+ test-lib :
45
+ steps :
46
+ - run : npm run compile
47
+ - run : node ./tests/dekko/lib.test.js
48
+ - run : REACT=16 LIB_DIR=lib npm test
49
+
50
+ test-es :
51
+ steps :
52
+ - run : npm run compile
53
+ - run : REACT=16 LIB_DIR=es npm test
54
+
55
+ test-dom :
56
+ steps :
57
+ - run : REACT=16 npm test -- --coverage
58
+ - run : bash <(curl -s https://codecov.io/bash)
59
+
60
+ test-node :
61
+ steps :
62
+ - run : REACT=16 npm run test-node
63
+
64
+ test-dist-15 :
65
+ steps :
66
+ - run : npm run dist
67
+ - run : node ./tests/dekko/dist.test.js
68
+ - run : REACT=15 LIB_DIR=dist npm test -u
69
+
70
+ test-lib-15 :
71
+ steps :
72
+ - run : npm run compile
73
+ - run : node ./tests/dekko/lib.test.js
74
+ - run : REACT=15 LIB_DIR=lib npm test
75
+
76
+ test-es-15 :
77
+ steps :
78
+ - run : npm run compile
79
+ - run : REACT=15 LIB_DIR=es npm test
80
+
81
+ test-dom-15 :
82
+ steps :
83
+ - run : REACT=15 npm test -- --coverage
84
+ - run : bash <(curl -s https://codecov.io/bash)
85
+
86
+ test-node-15 :
87
+ steps :
88
+ - run : REACT=15 npm run test-node
89
+
90
+ workflows :
91
+ version : 2
92
+ build-test :
93
+ jobs :
94
+ - setup
95
+ - install-react
96
+ - lint :
97
+ requires :
98
+ - setup
99
+ - test-dist :
100
+ requires :
101
+ - setup
102
+ - test-lib :
103
+ requires :
104
+ - setup
105
+ - test-es :
106
+ requires :
107
+ - setup
108
+ - test-dom :
109
+ requires :
110
+ - setup
111
+ - test-node :
112
+ requires :
113
+ - setup
114
+ - test-dist-15 :
115
+ requires :
116
+ - setup
117
+ - install-react
118
+ - test-lib-15 :
119
+ requires :
120
+ - setup
121
+ - install-react
122
+ - test-es-15 :
123
+ requires :
124
+ - setup
125
+ - install-react
126
+ - test-dom-15 :
127
+ requires :
128
+ - setup
129
+ - install-react
130
+ - test-node-15 :
131
+ requires :
132
+ - setup
133
+ - install-react
You can’t perform that action at this time.
0 commit comments