Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
chore(code-check.yml): replace tsc command with npm script ts:check t…
Browse files Browse the repository at this point in the history
…o run typecheck

feat(package.json): add npm script ts:check to run typecheck with tsc --noEmit command
  • Loading branch information
Bluzzi committed May 31, 2023
1 parent c30f554 commit 41904b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
- name: Install dependencies
run: npm install
- name: Run typecheck
run: npx tsc --noEmit
run: npm run ts:check
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"lint:fix": "eslint ./src --fix",
"gen:gql": "graphql-codegen --config gql-codegen.ts",
"gen:gql:watch": "graphql-codegen --watch --config gql-codegen.ts",
"test:unit": "vitest --ui"
"test:unit": "vitest --ui",
"ts:check": "tsc --noEmit"
},
"dependencies": {
"chart.js": "^3.9.1",
Expand Down

0 comments on commit 41904b0

Please sign in to comment.