This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
fix(deps): update dependency @mui/material to v5.14.2 #631
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |