@@ -1418,31 +1418,29 @@ jobs:
1418
1418
with :
1419
1419
ref : ${{ env.HEAD_COMMIT }}
1420
1420
1421
+ - name : Setup Node
1422
+ uses : actions/setup-node@v4
1423
+ with :
1424
+ node-version : ${{ matrix.node }}
1425
+
1421
1426
- name : Restore dependency cache
1422
1427
uses : actions/cache/restore@v4
1423
1428
id : restore-dependencies
1424
1429
with :
1425
1430
path : ${{ env.CACHED_DEPENDENCY_PATHS }}
1426
1431
key : ${{ needs.job_build.outputs.dependency_cache_key }}
1427
1432
enableCrossOsArchive : true
1428
- fail-on-cache-miss : true
1429
1433
1430
- - name : Restore build cache
1431
- uses : actions/cache/restore@v4
1432
- id : restore-build
1433
- with :
1434
- path : ${{ env.CACHED_BUILD_PATHS }}
1435
- key : ${{ needs.job_build.outputs.dependency_cache_key }}
1436
- enableCrossOsArchive : true
1437
- fail-on-cache-miss : true
1434
+ - name : Install dependencies
1435
+ env :
1436
+ SKIP_PLAYWRIGHT_BROWSER_INSTALL : " 1"
1437
+ if : steps.restore-dependencies.outputs.cache-hit != 'true'
1438
+ run : yarn install --ignore-engines --frozen-lockfile
1438
1439
1439
1440
- name : Configure safe directory
1440
1441
run : |
1441
1442
git config --global --add safe.directory "*"
1442
1443
1443
- - name : Install yarn
1444
- run :
npm i -g [email protected] --force
1445
-
1446
1444
- name : Increase yarn network timeout on Windows
1447
1445
if : contains(matrix.os, 'windows')
1448
1446
run : yarn config set network-timeout 600000 -g
@@ -1454,15 +1452,6 @@ jobs:
1454
1452
with :
1455
1453
python-version : ' 3.8.10'
1456
1454
1457
- - name : Setup Node
1458
- uses : actions/setup-node@v4
1459
- with :
1460
- node-version : ${{ matrix.node }}
1461
-
1462
- - name : Install Dependencies
1463
- if : steps.restore-dependencies.outputs.cache-hit != 'true'
1464
- run : yarn install --frozen-lockfile --ignore-engines --ignore-scripts
1465
-
1466
1455
- name : Setup (arm64| ${{ contains(matrix.container, 'alpine') && 'musl' || 'glibc' }})
1467
1456
if : matrix.arch == 'arm64' && !contains(matrix.container, 'alpine') && matrix.target_platform != 'darwin'
1468
1457
run : |
0 commit comments