Skip to content

Commit

Permalink
Merge pull request #168 from AutomatingSciencePipeline/CI-Frontend-Ty…
Browse files Browse the repository at this point in the history
…pe-Check

CI task to run typescript type checking
  • Loading branch information
SpookyBeverage authored Mar 15, 2023
2 parents b998608 + 90e8b5f commit 530d2b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/node-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 530d2b3

Please sign in to comment.