Skip to content

Commit bf74c35

Browse files
author
Gaurav Nelson
committed
List installed node module versions
1 parent 5c5dfc0 commit bf74c35

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

entrypoint.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ BLUE='\033[0;34m'
99
RED='\033[0;31m'
1010

1111
12+
echo "::group::Debug information"
13+
npm -g list --depth=1
14+
echo "::endgroup::"
1215

1316
declare -a FIND_CALL
1417
declare -a COMMAND_DIRS COMMAND_FILES
@@ -155,9 +158,9 @@ fi
155158
if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then
156159

157160
echo -e "${BLUE}BASE_BRANCH: $7${NC}"
158-
161+
159162
git config --global --add safe.directory $(pwd)
160-
163+
161164
git fetch origin "${BASE_BRANCH}" --depth=1 > /dev/null
162165
MASTER_HASH=$(git rev-parse origin/"${BASE_BRANCH}")
163166

@@ -178,7 +181,7 @@ if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then
178181
done
179182

180183
check_additional_files
181-
184+
182185
check_errors
183186

184187
else

0 commit comments

Comments
 (0)