@@ -127,7 +127,9 @@ jobs:
127
127
runs-on : ubuntu-20.04
128
128
timeout-minutes : 15
129
129
if : |
130
- needs.job_get_metadata.outputs.changed_any_code == 'true' &&
130
+ needs.job_get_metadata.outputs.changed_any_code == 'true' ||
131
+ needs.job_get_metadata.outputs.is_develop == 'true' ||
132
+ needs.job_get_metadata.outputs.is_release == 'true' ||
131
133
(needs.job_get_metadata.outputs.is_gitflow_sync == 'false' && needs.job_get_metadata.outputs.has_gitflow_label == 'false')
132
134
steps :
133
135
- name : Check out base commit (${{ github.event.pull_request.base.sha }})
@@ -344,7 +346,7 @@ jobs:
344
346
name : ${{ github.sha }}
345
347
path : |
346
348
${{ github.workspace }}/packages/browser/build/bundles/**
347
- ${{ github.workspace }}/packages/replay/build/bundles/**
349
+ ${{ github.workspace }}/packages/replay-internal /build/bundles/**
348
350
${{ github.workspace }}/packages/replay-canvas/build/bundles/**
349
351
${{ github.workspace }}/packages/feedback/build/bundles/**
350
352
${{ github.workspace }}/packages/**/*.tgz
@@ -1416,31 +1418,29 @@ jobs:
1416
1418
with :
1417
1419
ref : ${{ env.HEAD_COMMIT }}
1418
1420
1421
+ - name : Setup Node
1422
+ uses : actions/setup-node@v4
1423
+ with :
1424
+ node-version : ${{ matrix.node }}
1425
+
1419
1426
- name : Restore dependency cache
1420
1427
uses : actions/cache/restore@v4
1421
1428
id : restore-dependencies
1422
1429
with :
1423
1430
path : ${{ env.CACHED_DEPENDENCY_PATHS }}
1424
1431
key : ${{ needs.job_build.outputs.dependency_cache_key }}
1425
1432
enableCrossOsArchive : true
1426
- fail-on-cache-miss : true
1427
1433
1428
- - name : Restore build cache
1429
- uses : actions/cache/restore@v4
1430
- id : restore-build
1431
- with :
1432
- path : ${{ env.CACHED_BUILD_PATHS }}
1433
- key : ${{ needs.job_build.outputs.dependency_cache_key }}
1434
- enableCrossOsArchive : true
1435
- 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
1436
1439
1437
1440
- name : Configure safe directory
1438
1441
run : |
1439
1442
git config --global --add safe.directory "*"
1440
1443
1441
- - name : Install yarn
1442
- run :
npm i -g [email protected] --force
1443
-
1444
1444
- name : Increase yarn network timeout on Windows
1445
1445
if : contains(matrix.os, 'windows')
1446
1446
run : yarn config set network-timeout 600000 -g
@@ -1452,15 +1452,6 @@ jobs:
1452
1452
with :
1453
1453
python-version : ' 3.8.10'
1454
1454
1455
- - name : Setup Node
1456
- uses : actions/setup-node@v4
1457
- with :
1458
- node-version : ${{ matrix.node }}
1459
-
1460
- - name : Install Dependencies
1461
- if : steps.restore-dependencies.outputs.cache-hit != 'true'
1462
- run : yarn install --frozen-lockfile --ignore-engines --ignore-scripts
1463
-
1464
1455
- name : Setup (arm64| ${{ contains(matrix.container, 'alpine') && 'musl' || 'glibc' }})
1465
1456
if : matrix.arch == 'arm64' && !contains(matrix.container, 'alpine') && matrix.target_platform != 'darwin'
1466
1457
run : |
0 commit comments