Skip to content

Merge pull request #12 from suissa/develop #31

Merge pull request #12 from suissa/develop

Merge pull request #12 from suissa/develop #31

Workflow file for this run

name: End-to-End Tests
on:
push:
workflow_dispatch:
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '20'
- name: Install Dependencies
run: npm install
- name: Run Build
run: npx next build
- name: Start Server
run: npm start
env:
CI: true
- name: Run Cypress Tests
uses: cypress-io/github-action@v2
with:
wait-on: 'http://localhost:3000'
wait-on-timeout: 60