next.js
5d85a444 - fix(CI): Avoid rebuilding native code in jobs that don't depend on native code (#78944)

Commit
1 year ago
fix(CI): Avoid rebuilding native code in jobs that don't depend on native code (#78944) The following jobs do not depend on `build-native`, but don't specify `skipNativeBuild`: - `lint` - `test-devlow` - `test-next-swc-wasm` - `test-next-swc-napi-wasi` *(currently disabled)* - `test-unit` *(does actually appear to depend on native binaries)* That means that they still build the native binary, but they don't wait for `build-native` to finish first, so they don't use the cached version (they run before the cache is populated), and instead each spend 5 minutes of CPU time rebuilding the native binary.
Author
bgw bgw
Parents
Loading