Skip to content

feat: creating a workflow to run the cypress test #1

feat: creating a workflow to run the cypress test

feat: creating a workflow to run the cypress test #1

Workflow file for this run

name: Cypress Tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install Frontend Dependencies
run: yarn install
- name: Run Frontend Emulator
run: yarn dev
- name: Run Emulator
run: yarn emulator & echo $! > emulator_pid.txt
- name: Seed Database
run: yarn seed
- name: Run Cypress Tests
run: yarn test:cypress