mirror of
https://github.com/gaurav-nelson/github-action-markdown-link-check.git
synced 2024-08-16 23:20:21 +03:00
List installed node module versions
This commit is contained in:
parent
5c5dfc0ac2
commit
bf74c35f3d
@ -9,6 +9,9 @@ BLUE='\033[0;34m'
|
|||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
|
|
||||||
npm i -g markdown-link-check@3.8.7
|
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 FIND_CALL
|
||||||
declare -a COMMAND_DIRS COMMAND_FILES
|
declare -a COMMAND_DIRS COMMAND_FILES
|
||||||
@ -155,9 +158,9 @@ fi
|
|||||||
if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then
|
if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then
|
||||||
|
|
||||||
echo -e "${BLUE}BASE_BRANCH: $7${NC}"
|
echo -e "${BLUE}BASE_BRANCH: $7${NC}"
|
||||||
|
|
||||||
git config --global --add safe.directory $(pwd)
|
git config --global --add safe.directory $(pwd)
|
||||||
|
|
||||||
git fetch origin "${BASE_BRANCH}" --depth=1 > /dev/null
|
git fetch origin "${BASE_BRANCH}" --depth=1 > /dev/null
|
||||||
MASTER_HASH=$(git rev-parse origin/"${BASE_BRANCH}")
|
MASTER_HASH=$(git rev-parse origin/"${BASE_BRANCH}")
|
||||||
|
|
||||||
@ -178,7 +181,7 @@ if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then
|
|||||||
done
|
done
|
||||||
|
|
||||||
check_additional_files
|
check_additional_files
|
||||||
|
|
||||||
check_errors
|
check_errors
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user