Skip to content

refactor: move rejectSubmission from component to store #2188

refactor: move rejectSubmission from component to store

refactor: move rejectSubmission from component to store #2188

Workflow file for this run

name: "Tests: Cypress e2e"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "45 15 * * 4"
jobs:
cypress-run:
name: Running Cypress tests ✨
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache yarn dependencies
uses: actions/cache@v3
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies and build
run: |
yarn install
yarn prod:build
- name: Start server and wait
run: |
yarn prod:start &
npx wait-on http://localhost:3000
- name: Run Cypress tests
uses: cypress-io/github-action@v6
- name: Upload screenshots
uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots