File tree 4 files changed +10249
-17587
lines changed
4 files changed +10249
-17587
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ job_defaults: &job_defaults
5
5
- image : circleci/node:latest
6
6
working_directory : ~/project/repo
7
7
8
- cache_key : &cache_key testing-library-deps-cache-{{ .Branch }}-{{ checksum "package-lock.json " }}
8
+ cache_key : &cache_key testing-library-deps-cache-{{ .Branch }}-{{ checksum "yarn.lock " }}
9
9
dist_key : &dist_key testing-library-dist-{{ .Revision }}
10
10
11
11
jobs :
17
17
key : *cache_key
18
18
- run :
19
19
name : install-dependencies
20
- command : npm ci
20
+ command : yarn
21
21
- save_cache :
22
22
key : *cache_key
23
23
paths :
31
31
key : *cache_key
32
32
- run :
33
33
name : lint
34
- command : npm run lint
34
+ command : yarn lint
35
35
36
36
test-lib :
37
37
<< : *job_defaults
41
41
key : *cache_key
42
42
- run :
43
43
name : test
44
- command : npm run test
44
+ command : yarn test
45
45
46
46
build-lib :
47
47
<< : *job_defaults
51
51
key : *cache_key
52
52
- run :
53
53
name : test
54
- command : npm run build
54
+ command : yarn build
55
55
- save_cache :
56
56
key : *dist_key
57
57
paths :
67
67
key : *dist_key
68
68
- run :
69
69
name : test
70
- command : npm run test:app
70
+ command : yarn test:app
71
71
72
72
release :
73
73
<< : *job_defaults
79
79
key : *dist_key
80
80
- run :
81
81
name : release
82
- command : npm run semantic-release || true
82
+ command : yarn semantic-release || true
83
83
84
84
workflows :
85
85
version : 2
You can’t perform that action at this time.
0 commit comments