diff --git a/.github/workflows/code_check_frontend.yml b/.github/workflows/code_check_frontend.yml index 2a65fa195..eaa943dae 100644 --- a/.github/workflows/code_check_frontend.yml +++ b/.github/workflows/code_check_frontend.yml @@ -75,4 +75,4 @@ jobs: - name: 🔍 Type Check run: / npm install - npm run lint + npm run tsc diff --git a/govtool/frontend/package.json b/govtool/frontend/package.json index 523792b81..e2eba5500 100644 --- a/govtool/frontend/package.json +++ b/govtool/frontend/package.json @@ -7,7 +7,7 @@ "dev": "vite", "build": "vite build", "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0", - "tsc": "tsc --noEmit --skipLibCheck", + "tsc": "npx tsc --noEmit --skipLibCheck", "preview": "vite preview", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build",