reduxjs / react-redux

Official React bindings for Redux
https://react-redux.js.org
MIT License
23.27k stars 3.36k forks source link

Cache the examples and speed up test runs #2140

Closed timdorr closed 2 months ago

timdorr commented 2 months ago

Adding the RN examples ballooned our test runs to 10+ minutes, which seems like a lot of overkill. But we were doing zero caching, so we got dinged with a full, from-scatch build on each run. Big ick.

Turns out, we don't really need to build an entire app. What we're testing is if Metro will bundle our build output. So, I'll make an equivalent RTK PR to simplify that build step drastically.

Update: Just made reduxjs/redux-toolkit#4266 to speed things up on that end

codesandbox-ci[bot] commented 2 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.