File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ job_defaults: &job_defaults
6
6
working_directory : ~/project/repo
7
7
8
8
cache_key : &cache_key angular-testing-library-deps-cache-{{ checksum "yarn.lock" }}
9
- dist_key : &dist_key angular-testing-library-dist-{{ .Revision }}
10
9
11
10
jobs :
12
11
install :
@@ -42,12 +41,10 @@ jobs:
42
41
- run :
43
42
name : build
44
43
command : yarn build
45
- - save_cache :
46
- key : *dist_key
47
- paths :
48
- - dist
49
44
- store_artifacts :
50
45
path : dist
46
+ - persist_to_workspace :
47
+ root : dist
51
48
52
49
test :
53
50
<< : *job_defaults
65
62
- checkout
66
63
- restore_cache :
67
64
key : *cache_key
68
- - restore_cache :
69
- key : *dist_key
65
+ - attach_workspace :
66
+ at : dist
70
67
- run :
71
68
name : release
72
69
command : yarn semantic-release || true
77
74
- checkout
78
75
- restore_cache :
79
76
key : *cache_key
80
- - restore_cache :
81
- key : *dist_key
77
+ - attach_workspace :
78
+ at : dist
82
79
- run :
83
80
name : release
84
81
command : yarn semantic-release || true
You can’t perform that action at this time.
0 commit comments