Skip to content

Fix missing dependency #49

Fix missing dependency

Fix missing dependency #49

name: validate-prisma
on:
push:
branches:
- main
pull_request:
branches:
- main
- develop
env:
NODE_OPTIONS: --max-old-space-size=8192
jobs:
validate-prisma:
name: Validate Prisma schema on Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node: [latest]
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v3
- name: Setup node env πŸ—
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: "yarn"
- name: Install dependencies β€πŸ’»
run: yarn install --immutable --inline-builds
- name: Copy .env.example to .env
run: cp .env.example .env
- name: Run prisma validator πŸ‘€
run: yarn prisma validate