@@ -12,31 +12,18 @@ jobs:
12
12
13
13
steps :
14
14
- name : Checkout branch
15
- uses : actions/checkout@v4
15
+ uses : actions/checkout@v4.1.1
16
16
17
- - name : Set up Node.js version
18
- uses : actions/setup-node@v4
19
- with :
20
- node-version-file : " .nvmrc"
21
-
22
- - uses : pnpm/action-setup@v3.0.0
23
- name : Install pnpm
24
- id : pnpm-install
17
+ - name : Install pnpm package manager
18
+ uses : pnpm/action-setup@v3.0.0
25
19
with :
26
20
version : 8.14
27
- run_install : false
28
21
29
- - name : Get pnpm store directory
30
- id : pnpm-cache
31
- run : |
32
- echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
33
- - uses : actions/cache@v4
34
- name : Setup pnpm cache
22
+ - name : Set up Node.js version
23
+ uses : actions/setup-node@v4.0.2
35
24
with :
36
- path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
37
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
38
- restore-keys : |
39
- ${{ runner.os }}-pnpm-store-
25
+ node-version-file : .nvmrc
26
+ cache : pnpm
40
27
41
28
- name : Install dependencies
42
29
run : |
@@ -49,31 +36,18 @@ jobs:
49
36
50
37
steps :
51
38
- name : Checkout branch
52
- uses : actions/checkout@v4
39
+ uses : actions/checkout@v4.1.1
53
40
54
- - name : Set up Node.js version
55
- uses : actions/setup-node@v4
56
- with :
57
- node-version-file : " .nvmrc"
58
-
59
- - uses : pnpm/action-setup@v3.0.0
60
- name : Install pnpm
61
- id : pnpm-install
41
+ - name : Install pnpm package manager
42
+ uses : pnpm/action-setup@v3.0.0
62
43
with :
63
44
version : 8.14
64
- run_install : false
65
45
66
- - name : Get pnpm store directory
67
- id : pnpm-cache
68
- run : |
69
- echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
70
- - uses : actions/cache@v4
71
- name : Setup pnpm cache
46
+ - name : Set up Node.js version
47
+ uses : actions/setup-node@v4.0.2
72
48
with :
73
- path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
74
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
75
- restore-keys : |
76
- ${{ runner.os }}-pnpm-store-
49
+ node-version-file : .nvmrc
50
+ cache : pnpm
77
51
78
52
- name : Install dependencies
79
53
run : |
@@ -89,31 +63,18 @@ jobs:
89
63
90
64
steps :
91
65
- name : Checkout branch
92
- uses : actions/checkout@v4
93
-
94
- - name : Set up Node.js version
95
- uses : actions/setup-node@v4
96
- with :
97
- node-version-file : " .nvmrc"
66
+ uses : actions/checkout@v4.1.1
98
67
99
- - uses : pnpm/action-setup@v3.0.0
100
- name : Install pnpm
101
- id : pnpm-install
68
+ - name : Install pnpm package manager
69
+ uses : pnpm/action-setup@v3.0.0
102
70
with :
103
71
version : 8.14
104
- run_install : false
105
72
106
- - name : Get pnpm store directory
107
- id : pnpm-cache
108
- run : |
109
- echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
110
- - uses : actions/cache@v4
111
- name : Setup pnpm cache
73
+ - name : Set up Node.js version
74
+ uses : actions/setup-node@v4.0.2
112
75
with :
113
- path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
114
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
115
- restore-keys : |
116
- ${{ runner.os }}-pnpm-store-
76
+ node-version-file : .nvmrc
77
+ cache : pnpm
117
78
118
79
- name : Install dependencies
119
80
run : |
138
99
pnpm run --if-present test-build
139
100
140
101
- name : " Retain build artifact: storybook"
141
- uses : actions/upload-artifact@v4
102
+ uses : actions/upload-artifact@v4.3.1
142
103
with :
143
104
name : storybook
144
105
path : packages/storybook/dist/
@@ -150,31 +111,18 @@ jobs:
150
111
151
112
steps :
152
113
- name : Checkout branch
153
- uses : actions/checkout@v4
114
+ uses : actions/checkout@v4.1.1
154
115
155
- - name : Set up Node.js version
156
- uses : actions/setup-node@v4
157
- with :
158
- node-version-file : " .nvmrc"
159
-
160
- - uses : pnpm/action-setup@v3.0.0
161
- name : Install pnpm
162
- id : pnpm-install
116
+ - name : Install pnpm package manager
117
+ uses : pnpm/action-setup@v3.0.0
163
118
with :
164
119
version : 8.14
165
- run_install : false
166
120
167
- - name : Get pnpm store directory
168
- id : pnpm-cache
169
- run : |
170
- echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
171
- - uses : actions/cache@v4
172
- name : Setup pnpm cache
121
+ - name : Set up Node.js version
122
+ uses : actions/setup-node@v4.0.2
173
123
with :
174
- path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
175
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
176
- restore-keys : |
177
- ${{ runner.os }}-pnpm-store-
124
+ node-version-file : .nvmrc
125
+ cache : pnpm
178
126
179
127
- name : Install dependencies
180
128
run : |
@@ -191,10 +139,10 @@ jobs:
191
139
192
140
steps :
193
141
- name : Checkout release branch
194
- uses : actions/checkout@v4
142
+ uses : actions/checkout@v4.1.1
195
143
196
144
- name : " Restore build artifact: Storybook"
197
- uses : actions/download-artifact@v4
145
+ uses : actions/download-artifact@v4.1.4
198
146
with :
199
147
name : storybook
200
148
path : packages/storybook/dist/
@@ -212,34 +160,20 @@ jobs:
212
160
213
161
steps :
214
162
- name : Checkout release branch
215
- uses : actions/checkout@v4
163
+ uses : actions/checkout@v4.1.1
216
164
with :
217
165
token : ${{ secrets.GH_TOKEN }}
218
166
219
- - name : Set up Node.js version
220
- uses : actions/setup-node@v4
221
- with :
222
- node-version-file : " .nvmrc"
223
-
224
- - uses : pnpm/action-setup@v3.0.0
225
- name : Install pnpm
226
- id : pnpm-install
167
+ - name : Install pnpm package manager
168
+ uses : pnpm/action-setup@v3.0.0
227
169
with :
228
170
version : 8.14
229
- run_install : false
230
171
231
- - name : Get pnpm store directory
232
- id : pnpm-cache
233
- run : |
234
- echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
235
-
236
- - uses : actions/cache@v4
237
- name : Setup pnpm cache
172
+ - name : Set up Node.js version
173
+ uses : actions/setup-node@v4.0.2
238
174
with :
239
- path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
240
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
241
- restore-keys : |
242
- ${{ runner.os }}-pnpm-store-
175
+ node-version-file : .nvmrc
176
+ cache : pnpm
243
177
244
178
- name : " Continuous Deployment: install"
245
179
run : |
0 commit comments