Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: enforce type safety with typescript code #2679

Merged
merged 3 commits into from
Sep 8, 2024

Conversation

wescopeland
Copy link
Member

Vite ignores all types on build, even if there are type errors in the project.

To help ensure TypeScript type safety, this PR adds another pipeline check to the project which requires all .ts/.tsx code to pass type checks.

Additionally, there are two files currently failing type checks (on master, open them in VSCode and you'll see the errors). They are fixed in this branch.

@wescopeland wescopeland requested a review from a team September 6, 2024 23:48
Copy link
Member

@Jamiras Jamiras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving this based on the fact that the tsc CI job succeeded.

@wescopeland wescopeland merged commit 212dd63 into RetroAchievements:master Sep 8, 2024
6 checks passed
@wescopeland wescopeland deleted the ci-tsc branch September 8, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants