Skip to content

ci: add lint workflow #1

ci: add lint workflow

ci: add lint workflow #1

Workflow file for this run

on:
- push
- pull_request
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
directory: [client, server]
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Install pnpm"
uses: pnpm/action-setup@v4
- name: "Install Node"
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: "Install dependencies"
working-directory: ./${{ matrix.directory }}
run: pnpm install
- name: "Lint"
working-directory: ./${{ matrix.directory }}
run: pnpm lint