Update upload-artifact action to v4 in E2E workflow #404
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- run: docker compose up -d webring | |
- name: Install dependencies | |
run: cd automation/e2e && yarn | |
- name: Install Playwright Browsers | |
run: cd automation/e2e && npx playwright install --with-deps | |
- name: Run Playwright tests | |
run: cd automation/e2e && yarn playwright test | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: automation/e2e/playwright-report/ | |
retention-days: 30 |