Skip to content

chore: update node version 22 #761

chore: update node version 22

chore: update node version 22 #761

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: 'Check code quality'
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
check-typescript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/Iron
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 9
run_install: true
- run: pnpm prisma generate
- run: pnpm tsc
check-prettier-and-eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/Iron
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 9
run_install: true
- run: pnpm prisma generate
- run: pnpm run lint