diff --git a/.github/workflows/node-test.yml b/.github/workflows/node-test.yml index e89db2c9..3016b6f6 100644 --- a/.github/workflows/node-test.yml +++ b/.github/workflows/node-test.yml @@ -27,8 +27,10 @@ jobs: run: npm ci - name: Run ESLint working-directory: ./apps/frontend - # Run the lint task defined in package.json run: npm run lint + - name: Run Typescript Check + working-directory: ./apps/frontend + run: npm run type-check - name: Run NPM Test working-directory: ./apps/frontend # TODO is this the right command to run? we'll know once we have tests diff --git a/apps/frontend/package.json b/apps/frontend/package.json index ef0d045d..33254c17 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -6,7 +6,8 @@ "dev": "cross-env NODE_OPTIONS='--inspect' next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "type-check": "tsc --noEmit" }, "dependencies": { "@emotion/react": "^11.10.4",