Skip to content

Commit d9af2a0

Browse files
committed
fix(ci): use npm exec for TypeScript type check
npx --prefix doesn't forward args correctly to tsc, causing it to print help text and exit 1. npm exec with -- separator works.
1 parent fab2455 commit d9af2a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ jobs:
9090
run: go vet ./...
9191

9292
- name: TypeScript type check
93-
run: npx --prefix web tsc --noEmit
93+
run: npm --prefix web exec tsc -- --noEmit

0 commit comments

Comments
 (0)