proofcarryingdata / zupass

Zuzalu Passport
GNU General Public License v3.0
282 stars 73 forks source link

make production build faster on render.com #273

Open ichub opened 1 year ago

robknight commented 9 months ago

Doing a full build involves transpiling all of our TypeScript, and generating types for each package. This is wasteful given that this already happens in CI.

One option might be to publish packages to Github Packages whenever there's a successful build on the production branch. The production deployment of a given app would then require building only the specific app, not the entire monorepo.

ichub commented 9 months ago

That's an interesting idea. You'd probably have to tag the package version with the commit hash. We would probably also have to age out old builds. But then that may break the 'revert to this commit' feature in render.com. Seems complicated but possible ...