chore: update TypeScript type-check command and add native-preview dependency for faster performance (#29179)
This commit is contained in:
@@ -61,13 +61,13 @@ if $web_modified; then
|
||||
lint-staged
|
||||
|
||||
if $web_ts_modified; then
|
||||
echo "Running TypeScript type-check"
|
||||
if ! pnpm run type-check; then
|
||||
echo "Type check failed. Please run 'pnpm run type-check' to fix the errors."
|
||||
echo "Running TypeScript type-check:tsgo"
|
||||
if ! pnpm run type-check:tsgo; then
|
||||
echo "Type check failed. Please run 'pnpm run type-check:tsgo' to fix the errors."
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "No staged TypeScript changes detected, skipping type-check"
|
||||
echo "No staged TypeScript changes detected, skipping type-check:tsgo"
|
||||
fi
|
||||
|
||||
echo "Running unit tests check"
|
||||
|
||||
Reference in New Issue
Block a user