Skip to content

Merge pull request #115 from serenity-kit/improve-ts-config #365

Merge pull request #115 from serenity-kit/improve-ts-config

Merge pull request #115 from serenity-kit/improve-ts-config #365

name: Tests and Checks
on: [push]
jobs:
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 9
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Generate Prisma Types
run: cd examples/backend && pnpm prisma generate
- name: Typecheck
run: pnpm ts:check
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 9
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Linting
run: pnpm lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 9
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm test