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

chore(deps): update actions/setup-node digest to 39370e3 #2184

chore(deps): update actions/setup-node digest to 39370e3

chore(deps): update actions/setup-node digest to 39370e3 #2184

Workflow file for this run

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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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