Skip to content

Commit 8f18bdf

Browse files
committed
Improve CI config
1 parent 1b68320 commit 8f18bdf

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

.circleci/config.yml

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,36 @@
11
defaults: &defaults
2-
working_directory: ~/conquery/frontend
32
executor:
43
name: node/default
54

65

76
version: 2.1
87
orbs:
9-
node: circleci/node@1.1.6
8+
node: circleci/node@3.0.1
109
jobs:
1110
test:
1211
<<: *defaults
1312
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
2022
lint:
2123
<<: *defaults
2224
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
2934

3035
workflows:
3136
build-and-test:

0 commit comments

Comments
 (0)