diff --git a/.github/workflows/e2e-ct.yml b/.github/workflows/e2e-ct.yml index 51fabd72efc..cc18bac918f 100644 --- a/.github/workflows/e2e-ct.yml +++ b/.github/workflows/e2e-ct.yml @@ -152,10 +152,10 @@ jobs: NODE_OPTIONS: --max_old_space_size=8192 run: pnpm --filter sanity test:ct --project ${{ matrix.project }} --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: - name: playwright-ct-report + name: playwright-ct-report-${{ matrix.project }}-${{ matrix.shardIndex }} path: ${{ github.workspace }}/packages/sanity/blob-report retention-days: 30 @@ -198,9 +198,10 @@ jobs: run: pnpm install - name: Download blob reports from Github Actions Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: playwright-ct-report + pattern: playwright-ct-report-* + merge-multiple: true path: ${{ github.workspace }}/packages/sanity/playwright-ct/playwright-ct-report - name: Merge into HTML Report @@ -229,10 +230,10 @@ jobs: comment_tag: "playwright-ct-report" filePath: ${{ github.workspace }}/packages/sanity/playwright-ct/playwright-ct-report/playwright-report-pr-comment.md - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: - name: playwright-ct-report + name: full-playwright-ct-report path: | ${{ github.workspace }}/packages/sanity/playwright-ct/report ${{ github.workspace }}/packages/sanity/playwright-ct/playwright-ct-report diff --git a/.github/workflows/e2e-ui.yml b/.github/workflows/e2e-ui.yml index 262fbc99bb1..d48dd527f8d 100644 --- a/.github/workflows/e2e-ui.yml +++ b/.github/workflows/e2e-ui.yml @@ -293,10 +293,10 @@ jobs: SANITY_E2E_DATASET: pr-${{ matrix.project }}-${{ github.event.number }} run: pnpm test:e2e --project ${{ matrix.project }} --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: - name: playwright-report + name: playwright-report-${{ matrix.project }}-${{ matrix.shardIndex }} path: blob-report retention-days: 30 merge-reports: @@ -340,18 +340,19 @@ jobs: run: pnpm install - name: Download blob reports from Github Actions Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: playwright-report + pattern: playwright-report-* + merge-multiple: true path: playwright-report - name: Merge into HTML Report run: npx playwright merge-reports --reporter html ./playwright-report - name: Upload HTML report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: html-report--attempt-${{ github.run_attempt }} + name: full-html-report--attempt-${{ github.run_attempt }} path: playwright-report retention-days: 30 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 1e4076c79be..2ec5ad9c9a6 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -215,10 +215,10 @@ jobs: SANITY_E2E_DATASET: pr-${{ matrix.project }}-${{ github.event.number }} run: pnpm test:e2e --project ${{ matrix.project }} --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: - name: playwright-report + name: playwright-report-${{ matrix.project }}-${{ matrix.shardIndex }} path: blob-report retention-days: 30 merge-reports: @@ -260,18 +260,19 @@ jobs: run: pnpm install - name: Download blob reports from Github Actions Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: playwright-report + pattern: playwright-report-* + merge-multiple: true path: playwright-report - name: Merge into HTML Report run: npx playwright merge-reports --reporter html ./playwright-report - name: Upload HTML report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: html-report--attempt-${{ github.run_attempt }} + name: full-html-report--attempt-${{ github.run_attempt }} path: playwright-report retention-days: 30 diff --git a/.github/workflows/efps.yml b/.github/workflows/efps.yml index bae4f135cd4..abfce623f58 100644 --- a/.github/workflows/efps.yml +++ b/.github/workflows/efps.yml @@ -92,10 +92,10 @@ jobs: RECORD_VIDEO: ${{ github.event.inputs.record_video || false }} run: pnpm efps:test -- -- --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: - name: efps-report + name: efps-report-${{ matrix.shardIndex }} path: ${{ github.workspace }}/perf/efps/results/ retention-days: 30 @@ -138,9 +138,10 @@ jobs: run: pnpm install - name: Download blob reports from Github Actions Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: efps-report + pattern: efps-report-* + merge-multiple: true path: perf/efps/results - name: Write report