Skip to content

Commit

Permalink
Issue #49: Partial revert of 31c5623 + rework to if statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambient-Impact committed Apr 25, 2024
1 parent 31c5623 commit 44020df
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .do/build/yarn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,15 @@
# Tells App Platform to install jq for us.
yarn add $(jq --raw-output '.composerDependencies | to_entries[] | [.key, .value] | [join("@")] | join(" ")' package.json)

# For whatever reason, running this package.json script doesn't correctly fail
# the whole process if the script fails. This is probably related to using
# cross-env. Note that we have to return the return value to correctly stop
# execution of the parent script on build failure, via the subsequent
# statements.
yarn build:deploy

yarnbuildexitcode=$?

if [ $yarnbuildexitcode -gt 0 ]; then
exit $yarnbuildexitcode
fi

0 comments on commit 44020df

Please sign in to comment.