Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/dirty-toes-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Now CI workflows use updated action to upload and download artifacts
51 changes: 0 additions & 51 deletions .github/actions/combineReportsFromE2E/action.yml

This file was deleted.

7 changes: 4 additions & 3 deletions .github/actions/merge-pw-reports/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ runs:
run: npm ci

- name: Download blob reports from GitHub Actions Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: all-blob-reports
path: all-blob-reports
pattern: all-blob-reports-*
merge-multiple: true

- name: Merge into HTML Report
shell: bash
run: npx playwright merge-reports --reporter html ./all-blob-reports

- name: Upload HTML report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: html-report--attempt-${{ github.run_attempt }}
path: playwright-report
Expand Down
11 changes: 9 additions & 2 deletions .github/actions/run-pw-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,17 @@ runs:
done
npx playwright test --grep @e2e $PROJECT_PARAMS --shard "$SHARD_NUMBER"

- name: Extract shard index
id: extract-shard-index
shell: bash
run: |
input=${{ inputs.SHARD }}
echo "shardIndex=${input%%/*}" >> $GITHUB_ENV

- name: Upload blob report to GitHub Actions Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: all-blob-reports
name: all-blob-reports-${{ env.shardIndex }}
path: blob-report
retention-days: 1