Skip to content

Commit

Permalink
chore: Upgrade GHA actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tihuan committed Dec 24, 2024
1 parent f283373 commit 242b03f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: 3.12

- name: Python cache
uses: actions/cache@v1
uses: actions/cache@v4.2.0
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Upload Chromatic artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.5.0
if: always()
with:
name: chromatic-report-${{ matrix.shardIndex }}
Expand All @@ -74,15 +74,15 @@ jobs:

- name: Upload FE test results as an artifact
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.5.0
with:
name: playwright-report-${{ matrix.shardIndex }}
path: /home/runner/work/single-cell-explorer/single-cell-explorer/client/playwright-report
retention-days: 14

- name: Upload blob report to GitHub Actions Artifacts
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.5.0
with:
name: blob-report-${{ matrix.shardIndex }}
path: /home/runner/work/single-cell-explorer/single-cell-explorer/client/blob-report
Expand All @@ -107,7 +107,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Download blob reports from GitHub Actions Artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v4.1.8
with:
pattern: blob-report-*
merge-multiple: true
Expand All @@ -117,7 +117,7 @@ jobs:
run: npx playwright merge-reports --reporter html ./blob-report

- name: Upload HTML report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.5.0
with:
name: html-report--attempt-${{ github.run_attempt }}
path: /home/runner/work/single-cell-explorer/single-cell-explorer/client/playwright-report
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
run: npm ci

- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v4.1.8
with:
# (thuang): Matches the `name` and `path` specified in `Upload Chromatic artifacts` step
path: /home/runner/work/single-cell-explorer/single-cell-explorer/client/playwright-report/chromatic-archives
Expand Down

0 comments on commit 242b03f

Please sign in to comment.