Commit f5afcdb 1 parent 17dd07e commit f5afcdb Copy full SHA for f5afcdb
File tree 1 file changed +12
-25
lines changed
1 file changed +12
-25
lines changed Original file line number Diff line number Diff line change @@ -3,38 +3,25 @@ aliases:
3
3
- &node_version node:12.14.1
4
4
5
5
jobs :
6
- lint :
7
- docker :
8
- - image : *node_version
6
+ test :
7
+ machine :
8
+ docker_layer_caching : true
9
9
working_directory : ~/cypress-image-diff
10
10
steps :
11
11
- checkout
12
- - run : npm ci
12
+ - run : npm ci
13
+ - run :
14
+ name : Build docker
15
+ command : make build
13
16
- run :
14
17
name : Run eslint
15
- command : npm run lint
16
-
17
- unit :
18
- docker :
19
- - image : *node_version
20
- working_directory : ~/cypress-image-diff
21
- steps :
22
- - checkout
23
- - run : npm ci
18
+ command : make lint-test
24
19
- run :
25
- name : Run unit tests
26
- command : npm run test:unit
27
-
28
- e2e :
29
- docker :
30
- - image : *node_version
31
- working_directory : ~/cypress-image-diff
32
- steps :
33
- - checkout
34
- - run : npm ci
20
+ name : Run unit
21
+ command : make unit-test
35
22
- run :
36
- name : Run e2e tests
37
- command : npm run test: e2e
23
+ name : Run eslint
24
+ command : make e2e-test
38
25
39
26
build_and_publish :
40
27
docker :
You can’t perform that action at this time.
0 commit comments