-
Notifications
You must be signed in to change notification settings - Fork 109
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
moves or adds tsc --noEmit from test to build phase #2597
Conversation
|
@LorisSigrist paraglide doesn't seem to like the new build proccess - can i pass this PR over to you to have a look? |
@martin-lysk @LorisSigrist i noticed that some types are only working after they have been build. this means that having typechecks in the same ci step as build might fail in unexpected ways. maybe this is related to some of the issues you are seeing, not sure. if yes we should move type checks out of build into its own pipeline step and run after build. |
We missed type checks in some packages - most paraglide packages and manage. this lead to type not been caught by the ci.
This pr moves all
tsc --noEmit
calls from test to build phase and adds them where it was missing to ensure we have type safeness in all packages.It was moved to the test phase in the past because of performance issues. I suggest to move it to build phase - since test is to slow during development. If we see problems with this approach we can change it later on.
This needs #2596 and #2595 land in main first to be green
From the chat: