Skip to content

Commit

Permalink
refactor(build): Fix build scripts to handle independent packages
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshm committed May 19, 2021
1 parent 198da27 commit 628c057
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/scripts/modules/build_modules.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

beginGroup() {
if [[ -n "$GITHUB_ACTIONS" ]] ; then
echo "::group::$*"
Expand All @@ -24,6 +26,7 @@ BUILD_ORDER=$(./build_order.sh $*)
for PACKAGE in $BUILD_ORDER ; do
beginGroup "$PACKAGE"
pushd "$PACKAGE" || exit $?
yarn || exit 255
yarn lib || exit 255
endGroup "$PACKAGE"
popd || exit $?
Expand Down

0 comments on commit 628c057

Please sign in to comment.