Merge pull request #771 from nodejs/fix-image-tests

Fix image tests
This commit is contained in:
Laurent Goderre 2018-06-01 09:42:48 -04:00 committed by GitHub
commit 6173c7fdb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
#
# Run a test build for all images.
set -uo pipefail
set -euo pipefail
. functions.sh

View File

@ -7,12 +7,12 @@ echo "Test for node succeeded."
if ! npm --version >/dev/null; then
echo "Test for npm failed!"
exit 2
exit 1
fi
echo "Test for npm succeeded."
if ! yarn --version >/dev/null; then
echo "Test of yarn failed!"
exit 3
exit 1
fi
echo "Test for yarn succeeded."