File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ echo '::group::🐶 Installing reviewdog ... https://github.com/reviewdog/review
1111curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b " ${TEMP_PATH} " " ${REVIEWDOG_VERSION} " 2>&1
1212echo ' ::endgroup::'
1313
14- npx --offline eslint --version
14+ npx --no-install -c ' eslint --version'
1515if [ $? -ne 0 ]; then
1616 echo ' ::group:: Running `npm install` to install eslint ...'
1717 npm install
2121echo " eslint version:$( npx --offline eslint --version) "
2222
2323echo ' ::group:: Running eslint with reviewdog 🐶 ...'
24- npx --offline eslint -f=" ${ESLINT_FORMATTER} " ${INPUT_ESLINT_FLAGS:- ' .' } \
24+ npx --no-install -c " eslint -f=" ${ESLINT_FORMATTER} " ${INPUT_ESLINT_FLAGS:- ' .' } " \
2525 | reviewdog -f=rdjson \
2626 -name=" ${INPUT_TOOL_NAME} " \
2727 -reporter=" ${INPUT_REPORTER:- github-pr-review} " \
You can’t perform that action at this time.
0 commit comments