Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

fix(deps): update react monorepo #635

fix(deps): update react monorepo

fix(deps): update react monorepo #635

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
cypress-run:
runs-on: ubuntu-22.04
services:
postgres:
image: postgres
ports:
- 5432:5432
env:
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Copy .env
run: cp sample.env .env
- name: Migrate Database
run: pnpm prisma migrate deploy
- name: Cypress run
uses: cypress-io/github-action@v5
env:
NODE_ENV: test
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
with:
record: true
build: pnpm build
start: pnpm start