File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,13 @@ jobs:
245
245
- name : Install playwright
246
246
uses : microsoft/playwright-github-action@v1
247
247
248
+ - name : Fetch dependencies from cache
249
+ id : cache-yarn
250
+ uses : actions/cache@v2
251
+ with :
252
+ path : " **/node_modules"
253
+ key : yarn-build-${{ hashFiles('**/yarn.lock') }}
254
+
248
255
- name : Download release packages
249
256
uses : actions/download-artifact@v2
250
257
with :
@@ -255,20 +262,14 @@ jobs:
255
262
run : |
256
263
cd release-packages && tar -xzf code-server*-linux-amd64.tar.gz
257
264
258
- - name : Fetch dependencies from cache
259
- id : cache-yarn
260
- uses : actions/cache@v2
261
- with :
262
- path : " **/node_modules"
263
- key : yarn-build-${{ hashFiles('**/yarn.lock') }}
264
-
265
265
- name : Install dependencies
266
266
if : steps.cache-yarn.outputs.cache-hit != 'true'
267
267
run : yarn --frozen-lockfile
268
268
269
269
# HACK: this shouldn't need to exist, but put it here anyway
270
270
# in an attempt to solve Playwright cache failures.
271
271
- name : Reinstall playwright
272
+ if : steps.cache-yarn.outputs.cache-hit == 'true'
272
273
run : |
273
274
cd test/
274
275
rm -r node_modules/playwright
You can’t perform that action at this time.
0 commit comments