mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Tools: Prevent CI from creating a release if "yarn install" failed
This commit is contained in:
parent
78f72f33e6
commit
4b8745c875
5
.github/scripts/run_ci.sh
vendored
5
.github/scripts/run_ci.sh
vendored
@ -57,6 +57,11 @@ echo "Yarn $( yarn -v )"
|
||||
|
||||
cd "$ROOT_DIR"
|
||||
yarn install
|
||||
testResult=$?
|
||||
if [ $testResult -ne 0 ]; then
|
||||
echo "Yarn installation failed. Search for 'exit code 1' in the log for more information."
|
||||
exit $testResult
|
||||
fi
|
||||
|
||||
# =============================================================================
|
||||
# Run test units. Only do it for pull requests and dev branch because we don't
|
||||
|
Loading…
Reference in New Issue
Block a user