Skip to content

Add cypress and test login and recently played games #4

Add cypress and test login and recently played games

Add cypress and test login and recently played games #4

Workflow file for this run

name: Tests
on:
workflow_dispatch:
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Start Vite server
run: npm run dev:expose &
- name: Cypress run
uses: cypress-io/github-action@v6
# - name: Run Cypress tests
# env:
# BASE_URL: http://localhost:5173/retroleaderboards
# run: npm run cy:run