Skip to content

Commit 92e6511

Browse files
FIX SP/DB Use local typescript module for tsc precommit type chec… (#602)
1 parent 2ed2470 commit 92e6511

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/stage-1-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
npm ci --strict-peer-deps
145145
- name: "Check types with tsc"
146146
run: |
147-
tsc --noEmit
147+
npx tsc --noEmit
148148
- name: "Run linting check"
149149
run: |
150150
make test-lint

scripts/config/pre-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
hooks:
44
- id: check-types
55
name: Check types with tsc
6-
entry: tsc --noEmit
6+
entry: npx tsc --noEmit
77
language: system
88
pass_filenames: false
99
- id: run-prettier

0 commit comments

Comments
 (0)