Skip to content

Commit

Permalink
Merge pull request #208 from reviewdog/massongit-patch-1
Browse files Browse the repository at this point in the history
Actions fails if npm install failed
  • Loading branch information
haya14busa authored Jun 17, 2024
2 parents 5a8b0e2 + 8d17e75 commit bea7e5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ echo '::endgroup::'
npx --no-install -c 'eslint --version'
if [ $? -ne 0 ]; then
echo '::group:: Running `npm install` to install eslint ...'
set -e
npm install
set +e
echo '::endgroup::'
fi

Expand Down

0 comments on commit bea7e5c

Please sign in to comment.