Skip to content

Commit

Permalink
feat(circleci): add typescript check
Browse files Browse the repository at this point in the history
  • Loading branch information
gmq committed Jul 18, 2022
1 parent a972f90 commit e903b52
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/potassium/assets/.circleci/config.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,20 @@ jobs:
cat tmp/files_to_lint | grep -E '.+\.(js|jsx|vue)$' | xargs yarn run eslint \
| ./bin/reviewdog -reporter=github-pr-review -f=eslint

- run:
name: Run tsc
shell: /bin/bash
command: |
cat tmp/files_to_lint | grep -E '.+\.(ts)$' | xargs yarn run tsc --noEmit ./app/javascript/types/*.d.ts \
| ./bin/reviewdog -reporter=github-pr-review -f=tsc

- run:
name: Run vue-tsc
shell: /bin/bash
command: |
cat tmp/files_to_lint | grep -E '.+\.(vue)$' | xargs yarn run vue-tsc --noEmit \
| ./bin/reviewdog -reporter=github-pr-review -f=tsc

- run:
name: Run stylelint
shell: /bin/bash
Expand Down

0 comments on commit e903b52

Please sign in to comment.