Skip to content

Change loading color #41

Change loading color

Change loading color #41

Workflow file for this run

name: e2e Cypress
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18.4.0
cache: 'npm'
- name: Prepare Frontend
run: |
npm install --no-audit --no-fund --no-optional
npm run build
working-directory: frontend
- name: Prepare Backend
run: |
npm install --no-audit --no-fund --no-optional
npm run build
working-directory: backend
- name: Cypress run
uses: cypress-io/github-action@v5
env:
DATABASE_URL: ${{ secrets.DATABASE_CYPRESS_URL }}
VITE_API_URL: ${{ vars.API_CYPRESS_ENDPOINT }}
with:
start: |
npm run start:frontend
npm run start:backend
wait-on: 'http://[::1]:5173, http://[::1]:3000'
wait-on-timeout: 30
working-directory: e2e-tests/cypress