Skip to content

E2E

E2E #345

Workflow file for this run

name: E2E
on:
schedule:
- cron: '53 7 * * 2'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
tests-on-preprod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: bahmutov/npm-install@v1
with:
working-directory: e2e-tests
- name: Run e2e tests
uses: cypress-io/[email protected]
with:
project: ./e2e-tests
install: false
config-file: cypress-preprod.config.ts
browser: chrome
- name: Upload screenshot
uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: e2e-tests/cypress/screenshots
retention-days: 1
- name: Upload video
uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: e2e-tests/cypress/videos
retention-days: 1