We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbb79bb commit a3a0f25Copy full SHA for a3a0f25
.circleci/config.yml
@@ -1,16 +1,15 @@
1
version: 2
2
jobs:
3
build:
4
- working_directory: /usr/src/app
5
docker:
6
- - image: banian/node
+ - image: circleci/node
7
steps:
8
# Checkout repository
9
- checkout
10
11
# Restore cache
12
- restore_cache:
13
- key: yarn-{{ checksum "yarn.lock" }}
+ key: yarn-cache-{{ checksum "yarn.lock" }}
14
15
# Install dependencies
16
- run:
@@ -19,14 +18,19 @@ jobs:
19
18
20
# Keep cache
21
- save_cache:
22
23
paths:
24
- "node_modules"
25
26
- # Test
+ # Lint
+ - run:
27
+ name: Lint
28
+ command: yarn lint
29
+
30
+ # Tests
31
32
name: Tests
- command: yarn test
33
+ command: yarn jest
34
35
# Coverage
36
0 commit comments