Skip to content

Commit

Permalink
Merge pull request #89 from tsuyoshicho/fix/testfail-20201024
Browse files Browse the repository at this point in the history
fix: latest do not work
  • Loading branch information
tsuyoshicho authored Oct 23, 2020
2 parents 728c320 + f2815aa commit 0147e52
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 0147e52

Please sign in to comment.