@@ -185,7 +185,7 @@ jobs:
185
185
with :
186
186
name : build-output
187
187
path : ${{ env.CACHED_BUILD_PATHS }}
188
- retention-days : 7
188
+ retention-days : 4
189
189
compression-level : 6
190
190
overwrite : true
191
191
@@ -345,6 +345,7 @@ jobs:
345
345
uses : actions/upload-artifact@v4
346
346
with :
347
347
name : ${{ github.sha }}
348
+ retention-days : 90
348
349
path : |
349
350
${{ github.workspace }}/packages/browser/build/bundles/**
350
351
${{ github.workspace }}/packages/replay-internal/build/bundles/**
@@ -597,11 +598,13 @@ jobs:
597
598
run : yarn test:ci${{ matrix.project && format(' --project={0}', matrix.project) || '' }}${{ matrix.shard && format(' --shard={0}/{1}', matrix.shard, matrix.shards) || '' }}
598
599
599
600
- name : Upload Playwright Traces
600
- uses : actions/upload-artifact@v3
601
- if : always ()
601
+ uses : actions/upload-artifact@v4
602
+ if : failure ()
602
603
with :
603
- name : playwright-traces
604
+ name : playwright-traces-job_browser_playwright_tests-${{ matrix.bundle}}-${{matrix.project}}-${{matrix.shard || '0'}}
604
605
path : dev-packages/browser-integration-tests/test-results
606
+ overwrite : true
607
+ retention-days : 7
605
608
606
609
job_browser_loader_tests :
607
610
name : PW ${{ matrix.bundle }} Tests
@@ -647,11 +650,13 @@ jobs:
647
650
cd dev-packages/browser-integration-tests
648
651
yarn test:loader
649
652
- name : Upload Playwright Traces
650
- uses : actions/upload-artifact@v3
651
- if : always ()
653
+ uses : actions/upload-artifact@v4
654
+ if : failure ()
652
655
with :
653
- name : playwright-traces
656
+ name : playwright-traces-job_browser_loader_tests-${{ matrix.bundle}}
654
657
path : dev-packages/browser-integration-tests/test-results
658
+ overwrite : true
659
+ retention-days : 7
655
660
656
661
job_check_for_faulty_dts :
657
662
name : Check for faulty .d.ts files
@@ -1261,6 +1266,7 @@ jobs:
1261
1266
with :
1262
1267
name : ${{ steps.process.outputs.artifactName }}
1263
1268
path : ${{ steps.process.outputs.artifactPath }}
1269
+ retention-days : 7
1264
1270
1265
1271
job_compile_bindings_profiling_node :
1266
1272
name : Compile & Test Profiling Bindings (v${{ matrix.node }}) ${{ matrix.target_platform || matrix.os }}, ${{ matrix.node || matrix.container }}, ${{ matrix.arch || matrix.container }}, ${{ contains(matrix.container, 'alpine') && 'musl' || 'glibc' }}
0 commit comments