@@ -12,11 +12,14 @@ release: &release
12
12
<< : *defaults
13
13
steps :
14
14
- checkout
15
+ - attach_workspace :
16
+ at : ~/repo
15
17
- restore_cache :
16
18
name : Restore Yarn Package Cache
17
19
key : yarn-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }}
18
- - attach_workspace :
19
- at : ~/repo
20
+ - run :
21
+ name : Install dependencies
22
+ command : yarn
20
23
- run :
21
24
name : Release to npm
22
25
command : yarn release
38
41
key : yarn-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }}
39
42
paths :
40
43
- node_modules
41
- - packages/**/node_modules
44
+ - packages/common-helpers/node_modules
45
+ - packages/common-types/node_modules
46
+ - packages/common-enums/node_modules
47
+ - packages/components-vue/node_modules
48
+ - packages/nuxt/node_modules
49
+ - packages/styles/node_modules
42
50
- run :
43
51
name : Define environment variable with lastest commit's message
44
52
command : |
56
64
- restore_cache :
57
65
name : Restore Yarn Package Cache
58
66
key : yarn-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }}
67
+ - run :
68
+ name : Install dependencies
69
+ command : yarn
59
70
- run :
60
71
name : Build distributables
61
72
command : yarn build
@@ -69,11 +80,14 @@ jobs:
69
80
<< : *defaults
70
81
steps :
71
82
- checkout
83
+ - attach_workspace :
84
+ at : ~/repo
72
85
- restore_cache :
73
86
name : Restore Yarn Package Cache
74
87
key : yarn-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }}
75
- - attach_workspace :
76
- at : ~/repo
88
+ - run :
89
+ name : Install dependencies
90
+ command : yarn
77
91
- run :
78
92
name : Lint & check
79
93
command : yarn lint
@@ -85,11 +99,14 @@ jobs:
85
99
<< : *defaults
86
100
steps :
87
101
- checkout
102
+ - attach_workspace :
103
+ at : ~/repo
88
104
- restore_cache :
89
105
name : Restore Yarn Package Cache
90
106
key : yarn-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }}
91
- - attach_workspace :
92
- at : ~/repo
107
+ - run :
108
+ name : Install dependencies
109
+ command : yarn
93
110
- run :
94
111
name : Dry release
95
112
command : yarn release:dry
0 commit comments