next.js
8298079a - Share native binaries via GitHub artifacts (#92758)

Commit
28 days ago
Share native binaries via GitHub artifacts (#92758) ## What Use the GHA cache instead of turborepo cache for intemediate build products. ## Why turborepo is fast, but GHA is pretty fast too (adds a few seconds), and this takes load off the cache server. As a bonus, we get intermediate artifacts available for download and we work regardless of cache server availability. ## Details - Add `nativeArtifact`/`uploadNativeArtifact` inputs to `build_reusable.yml` - Build jobs upload `.node` files as GitHub artifacts - Test jobs download pre-built artifacts instead of rebuilding via turborepo cache - Rust installation and sccache are skipped when downloading pre-built artifacts - Both Linux (`next-swc-linux`) and Windows (`next-swc-windows`) native builds upload artifacts
Author
Parents
Loading