From f5da6314f98c881c745f6bcc1bd7c4c7c72f2bbf Mon Sep 17 00:00:00 2001 From: 0age <37939117+0age@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:09:05 -0800 Subject: [PATCH] more lint + typecheck CI fixes --- .github/workflows/ci.yml | 5 ++++- frontend/.eslintrc.cjs | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 473b2a7..14e18d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,9 +39,12 @@ jobs: - name: Install dependencies run: pnpm install:all - - name: Type check + - name: Type check backend run: pnpm type-check + - name: Type check frontend + run: cd frontend && pnpm tsc --noEmit -p tsconfig.app.json + - name: Build run: pnpm build diff --git a/frontend/.eslintrc.cjs b/frontend/.eslintrc.cjs index b79de66..9badf7a 100644 --- a/frontend/.eslintrc.cjs +++ b/frontend/.eslintrc.cjs @@ -1,4 +1,5 @@ module.exports = { + root: true, extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended',