File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-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,12 @@ 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
48
+ paths :
49
+ - .
51
50
52
51
test :
53
52
<< : *job_defaults
65
64
- checkout
66
65
- restore_cache :
67
66
key : *cache_key
68
- - restore_cache :
69
- key : *dist_key
67
+ - attach_workspace :
68
+ at : dist
70
69
- run :
71
70
name : release
72
71
command : yarn semantic-release || true
77
76
- checkout
78
77
- restore_cache :
79
78
key : *cache_key
80
- - restore_cache :
81
- key : *dist_key
79
+ - attach_workspace :
80
+ at : dist
82
81
- run :
83
82
name : release
84
83
command : yarn semantic-release || true
You can’t perform that action at this time.
0 commit comments