Skip to content

Commit ac4b23d

Browse files
committed
fix(types): verify types on CI
1 parent e5852aa commit ac4b23d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,18 @@ jobs:
147147
"esModuleInterop": true
148148
}
149149
}' > tsconfig.temp.json
150+
151+
echo "Running type check on all .ts files..."
150152
# Run tsc and store output
151153
TYPECHECK_OUTPUT=$(find ./scripts -name '*.ts' -exec pnpm exec tsc --project tsconfig.temp.json {} \; 2>&1)
152154
if [ $? -ne 0 ]; then
153-
echo "Type checking failed:"
155+
echo "Type checking failed:"
154156
echo "$TYPECHECK_OUTPUT"
155157
exit 1
158+
else
159+
echo "✅ Type checking passed for all files"
160+
echo "Files checked:"
161+
find ./scripts -name '*.ts' | wc -l
156162
fi
157163
158164
- name: pnpm ava

0 commit comments

Comments
 (0)