Skip to content

Commit

Permalink
build common after js step
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Feb 15, 2022
1 parent 65d12cd commit 728bcda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ runs:
echo "::set-output name=MATRIX::$matrix"
echo "::set-output name=RUN_CLIENT::$run"
if [[ $run == 'false' && steps.diff.outputs.JS_COMMON_CHANGED > 0 ]]; then
if [[ $base_changed == 'true' || steps.diff.outputs.JS_COMMON_CHANGED > 0 ]]; then
echo "::set-output name=RUN_COMMON::true"
fi
Expand Down
2 changes: 0 additions & 2 deletions scripts/builds/clients.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ fi
# Commands are based on the LANGUAGE
if [[ $LANGUAGE == 'javascript' ]]; then
echo "> Cleaning previous build $GENERATOR..."

yarn workspace $PACKAGE clean

echo "> Bundling $GENERATOR..."

CMD="yarn workspace $PACKAGE build"
elif [[ $LANGUAGE == 'php' ]]; then
# no build needed (for now)
Expand Down
2 changes: 2 additions & 0 deletions scripts/post-gen/global.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ set -e
LANGUAGE=$1

if [[ $CI ]]; then
echo "Not running post-gen/global on CI for $LANGUAGE"

exit 0
fi

Expand Down

0 comments on commit 728bcda

Please sign in to comment.