Skip to content

Merge pull request #57 from emmi-lili/components/layout #27

Merge pull request #57 from emmi-lili/components/layout

Merge pull request #57 from emmi-lili/components/layout #27

Workflow file for this run

name: CI
on:
pull_request:
branches: [develop, main]
push:
branches: [develop, main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run lint
format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npx prettier --check "apps/**/*.{ts,tsx}" "packages/**/*.{ts,tsx}"
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npx prisma generate --schema apps/core/prisma/schema.prisma
- run: npm run build