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