FRS-5 Testing #4
Workflow file for this run
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
# Copied from https://github.com/cypress-io/github-action?tab=readme-ov-file#artifacts | |
name: End-to-end tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-latest | |
name: Run Cypress E2E tests | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cypress-io/github-action@v6 | |
with: | |
build: npm run build | |
start: npm start | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: cypress-screenshots | |
path: cypress/screenshots | |
if-no-files-found: ignore | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: cypress-videos | |
path: cypress/videos | |
if-no-files-found: ignore |