Skip to content

Commit bea7e5c

Browse files
authored
Merge pull request #208 from reviewdog/massongit-patch-1
Actions fails if npm install failed
2 parents 5a8b0e2 + 8d17e75 commit bea7e5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ echo '::endgroup::'
1414
npx --no-install -c 'eslint --version'
1515
if [ $? -ne 0 ]; then
1616
echo '::group:: Running `npm install` to install eslint ...'
17+
set -e
1718
npm install
19+
set +e
1820
echo '::endgroup::'
1921
fi
2022

0 commit comments

Comments
 (0)