Skip to content

change nearby behavior #8

change nearby behavior

change nearby behavior #8

name: Cypress Tests
on: [workflow_call]
jobs:
cypress_tests:
strategy:
matrix:
include:
- spec: 'cypress/e2e/desktop/*.cy.ts'
config_file: 'cypress.config.ts'
video_path: 'cypress/videos/desktop'
- spec: 'cypress/e2e/mobile/*.cy.ts'
config_file: 'cypress.mobile.config.ts'
video_path: 'cypress/videos/mobile'
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v6
with:
node-version: 24
- uses: pnpm/action-setup@v4
with:
version: 10
- name: Checkout
uses: actions/checkout@v6
- name: Cypress run
uses: cypress-io/github-action@v6
with:
start: pnpm start:cypress
browser: chrome
spec: ${{ matrix.spec }}
config-file: ${{ matrix.config_file }}
<<<<<<< HEAD

Check failure on line 33 in .github/workflows/cypress_testing.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cypress_testing.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
=======
- name: Upload videos of failed tests
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos
path: ${{ matrix.video_path }}
retention-days: 7 # Optional: how long to keep artifacts
>>>>>>> develop