diff --git a/lib/potassium/assets/.circleci/config.yml.erb b/lib/potassium/assets/.circleci/config.yml.erb index 11cccfdc..1f515a69 100644 --- a/lib/potassium/assets/.circleci/config.yml.erb +++ b/lib/potassium/assets/.circleci/config.yml.erb @@ -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