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

Add tsc to CI pipeline #78

Merged
merged 2 commits into from
Nov 25, 2020
Merged

Add tsc to CI pipeline #78

merged 2 commits into from
Nov 25, 2020

Conversation

fson
Copy link
Contributor

@fson fson commented Nov 24, 2020

Turns out tsc was not running in the CI for all PRs at the moment.

Run tsc after the tests to ensure that there are no type errors.

@fson fson requested a review from dsokal November 24, 2020 14:47
Copy link
Contributor

@dsokal dsokal left a comment

Choose a reason for hiding this comment

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

Just one comment: don't we want to run tsc before tests? Some tests can fail in case of type/syntax errors.
It probably doesn't matter when a tests run is really short (and it is right now) but in my opinion, type-checking should be the very first step in any pipeline.

@fson fson merged commit 2a67e02 into main Nov 25, 2020
@fson fson deleted the @fson/tsc-build branch November 25, 2020 13:22
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