Skip to content

E2E

E2E #409

Workflow file for this run

name: E2E
on:
schedule:
- cron: "53 7 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
tests-on-preprod:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Install dependencies
uses: cypress-io/github-action@v6
with:
runTests: false
- name: Run e2e tests
uses: cypress-io/github-action@v6
with:
working-directory: e2e-tests
install: false
config-file: cypress-preprod.config.ts
browser: chrome
- name: Upload screenshot
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: e2e-tests/cypress/screenshots
retention-days: 1
- name: Upload video
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos
path: e2e-tests/cypress/videos
retention-days: 1