You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd expect to be able to run the tests in under a minute.
Reproducible example
N/A
Suggested solution(s)
I'm not sure what could be slowing it down, but I've heard from some folks that ts-node is kinda slow. Are we invoking it to build each individual test?
The text was updated successfully, but these errors were encountered:
Agreed, it's kind of painful. I'm using Github actions in another repo and it seems much faster, but I haven't investigated it too deeply. I think creating a fork and removing TS from the build scripts altogether would be a good test though.
BTW @mjackson I did manage to get the build time reduced a bit by using Node directly, but it's not really significant. Any insight from your work on the new React Router v6 build scripts?
One of the main things I did in the router repo to speed up testing and builds was to ditch lerna workspace run (or whatever it's called, can't remember). All the build + test infrastructure is able to work with the monorepo format, so e.g. I only have a single instance of Jest/Rollup running when I need to test/build. This eliminates startup time for spinning up individual processes, which can be significant in a repo with many packages.
🐛 Bug report
Current Behavior
yarn build
currently takes about 9 minutes to complete in CI. See e.g. https://travis-ci.com/github/reach/reach-ui/jobs/357412345Expected behavior
I'd expect to be able to run the tests in under a minute.
Reproducible example
N/A
Suggested solution(s)
I'm not sure what could be slowing it down, but I've heard from some folks that ts-node is kinda slow. Are we invoking it to build each individual test?
The text was updated successfully, but these errors were encountered: