From bf74c35f3d69e7751081bf94cbbcceda403a83c5 Mon Sep 17 00:00:00 2001 From: Gaurav Nelson Date: Fri, 29 Apr 2022 10:53:40 +1000 Subject: [PATCH] List installed node module versions --- entrypoint.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6497fe7..90f0a21 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,6 +9,9 @@ BLUE='\033[0;34m' RED='\033[0;31m' npm i -g markdown-link-check@3.8.7 +echo "::group::Debug information" +npm -g list --depth=1 +echo "::endgroup::" declare -a FIND_CALL declare -a COMMAND_DIRS COMMAND_FILES @@ -155,9 +158,9 @@ fi if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then echo -e "${BLUE}BASE_BRANCH: $7${NC}" - + git config --global --add safe.directory $(pwd) - + git fetch origin "${BASE_BRANCH}" --depth=1 > /dev/null MASTER_HASH=$(git rev-parse origin/"${BASE_BRANCH}") @@ -178,7 +181,7 @@ if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then done check_additional_files - + check_errors else