Skip to content

Commit

Permalink
CI: Try to upload report to gh-pages -- attempt 1 (#57)
Browse files Browse the repository at this point in the history
* CI: Try to upload report to gh-pages -- attempt 1

* CHORE: rename step name
  • Loading branch information
mazipan authored Nov 24, 2024
1 parent 015ebdf commit 420290a
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ jobs:
smoke-test:
runs-on: ubuntu-latest
timeout-minutes: 60
permissions:
pages: write
id-token: write

steps:
- uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
Expand All @@ -31,9 +35,15 @@ jobs:
- name: Smoke test
run: pnpm run test:e2e

- uses: actions/upload-artifact@v4
if: always()
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report/
retention-days: 30
retention-days: 30

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
- artifact_name: 'playwright-report'

0 comments on commit 420290a

Please sign in to comment.