sapcc / juno

Monorepo for the Juno microfrontend framework, microfrontend apps, design system and component library
Apache License 2.0
7 stars 2 forks source link

chore(build): run npm build on all packages before building a package #641

Closed andypf closed 1 month ago

andypf commented 1 month ago

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.