This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
fix(deps): update dependency @sinclair/typebox to v0.33.15 #2103
Workflow file for this run
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: Cypress Tests | |
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- 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 |