File tree Expand file tree Collapse file tree 1 file changed +20
-12
lines changed Expand file tree Collapse file tree 1 file changed +20
-12
lines changed Original file line number Diff line number Diff line change 1
1
defaults : &defaults
2
- working_directory : ~/conquery /frontend
2
+ working_directory : ~/project /frontend
3
3
executor :
4
4
name : node/default
5
5
6
6
7
7
version : 2.1
8
8
orbs :
9
- node : circleci/node@1.1.6
9
+ node : circleci/node@3.0.1
10
10
jobs :
11
11
test :
12
12
<< : *defaults
13
13
steps :
14
14
- checkout :
15
- path : ~/conquery
16
- - node/with-cache :
17
- steps :
18
- - run : yarn install
19
- - run : yarn test
15
+ path : ~/project
16
+ - run :
17
+ name : install python
18
+ command : sudo apt update && sudo apt install python-minimal
19
+ - node/install-packages :
20
+ pkg-manager : yarn
21
+ app-dir : ~/project/frontend
22
+ cache-path : ~/project/frontend/node_modules
23
+ - run : yarn test
20
24
lint :
21
25
<< : *defaults
22
26
steps :
23
27
- checkout :
24
- path : ~/conquery
25
- - node/with-cache :
26
- steps :
27
- - run : yarn install
28
- - run : yarn lint
28
+ path : ~/project
29
+ - run :
30
+ name : install python
31
+ command : sudo apt update && sudo apt install python-minimal
32
+ - node/install-packages :
33
+ pkg-manager : yarn
34
+ app-dir : ~/project/frontend
35
+ cache-path : ~/project/frontend/node_modules
36
+ - run : yarn lint
29
37
30
38
workflows :
31
39
build-and-test :
You can’t perform that action at this time.
0 commit comments