Add more linting to check workflow
This commit is contained in:
parent
101ff9580b
commit
497ca67d0e
8
.github/workflows/check.yml
vendored
8
.github/workflows/check.yml
vendored
|
@ -33,10 +33,18 @@ jobs:
|
|||
- name: Run Prettier on web client
|
||||
working-directory: web
|
||||
run: npx prettier --check .
|
||||
- name: Run ESLint on common
|
||||
if: ${{ success() || failure() }}
|
||||
working-directory: common
|
||||
run: npx eslint . --max-warnings 0
|
||||
- name: Run ESLint on web client
|
||||
if: ${{ success() || failure() }}
|
||||
working-directory: web
|
||||
run: yarn lint --max-warnings 0
|
||||
- name: Run ESLint on cloud functions
|
||||
if: ${{ success() || failure() }}
|
||||
working-directory: functions
|
||||
run: npx eslint . --max-warnings 0
|
||||
- name: Run Typescript checker on web client
|
||||
if: ${{ success() || failure() }}
|
||||
working-directory: web
|
||||
|
|
Loading…
Reference in New Issue
Block a user