diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c79e917..f780424 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,5 +53,8 @@ jobs: - name: Lint run: pnpm run lint + + - name: Check Typescript + run: pnpm run check-ts # more things can be add later like tests etc.. diff --git a/package.json b/package.json index b8b2e56..8e6cbe0 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "scripts": { "fmt": "eslint \"**/*.{ts,vue}\" --fix", "lint": "eslint \"**/*.{ts,vue}\"", + "check-ts": "tsc --noEmit", "start": "tsx ./backend/index.ts", "dev:backend": "cross-env NODE_ENV=development tsx watch ./backend/index.ts", "dev:frontend": "cross-env NODE_ENV=development vite --host --config ./frontend/vite.config.ts",