mirror of https://github.com/laurent22/joplin.git
Tools: Prevent CI from creating a release if "yarn install" failed
parent
78f72f33e6
commit
4b8745c875
|
@ -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