Ensure npm build is executed on all packages before the main build process.
In the pipeline, we handle two different repositories (due to historical reasons). If the packages come from @cloudoperators/juno, which is a monorepo, we must first run the build on all dependent packages. This is done using npm run build. Only after this step can we proceed with the build task for the current package, ensuring that all dependencies are properly compiled and up-to-date.
Ensure npm build is executed on all packages before the main build process.
In the pipeline, we handle two different repositories (due to historical reasons). If the packages come from @cloudoperators/juno, which is a monorepo, we must first run the build on all dependent packages. This is done using
npm run build
. Only after this step can we proceed with the build task for the current package, ensuring that all dependencies are properly compiled and up-to-date.