Skip to content

Commit a3a0f25

Browse files
ricardogobbosouzapi0
authored andcommitted
Update config.yml
1 parent dbb79bb commit a3a0f25

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.circleci/config.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
version: 2
22
jobs:
33
build:
4-
working_directory: /usr/src/app
54
docker:
6-
- image: banian/node
5+
- image: circleci/node
76
steps:
87
# Checkout repository
98
- checkout
109

1110
# Restore cache
1211
- restore_cache:
13-
key: yarn-{{ checksum "yarn.lock" }}
12+
key: yarn-cache-{{ checksum "yarn.lock" }}
1413

1514
# Install dependencies
1615
- run:
@@ -19,14 +18,19 @@ jobs:
1918

2019
# Keep cache
2120
- save_cache:
22-
key: yarn-{{ checksum "yarn.lock" }}
21+
key: yarn-cache-{{ checksum "yarn.lock" }}
2322
paths:
2423
- "node_modules"
2524

26-
# Test
25+
# Lint
26+
- run:
27+
name: Lint
28+
command: yarn lint
29+
30+
# Tests
2731
- run:
2832
name: Tests
29-
command: yarn test
33+
command: yarn jest
3034

3135
# Coverage
3236
- run:

0 commit comments

Comments
 (0)