Skip to content

Commit

Permalink
fix for install
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuyoshicho committed Oct 23, 2020
1 parent 728c320 commit f2815aa
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ cd "$GITHUB_WORKSPACE"
export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"

# setup and check.
npm ci
if npm ls textlint &> /dev/null; then
:
# pass
:
else
npm ci
fi

if npm ls textlint &> /dev/null; then
npx textlint --version
else
echo This repository was not configured for textlint, process done.
exit 1
Expand Down

0 comments on commit f2815aa

Please sign in to comment.