Skip to content

Commit

Permalink
chore(deps): update github artifact actions to v4 (major) (#8298)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cody Olsen <[email protected]>
  • Loading branch information
renovate[bot] and stipsan authored Jan 16, 2025
1 parent 6c61c9c commit a7f5230
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 22 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/e2e-ct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/e2e-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/efps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a7f5230

Please sign in to comment.