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.32.12 #1269
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: 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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # 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 |