Adjust prettier check, directory switching in check workflow

This commit is contained in:
Marshall Polaris 2022-05-21 13:11:28 -07:00
parent 1be7685741
commit 9a25fd4b73

View File

@ -32,11 +32,15 @@ jobs:
key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }}
- name: Install missing dependencies - name: Install missing dependencies
run: yarn install --prefer-offline --frozen-lockfile run: yarn install --prefer-offline --frozen-lockfile
- name: Run Prettier - name: Run Prettier on web client
working-directory: web
run: npx prettier --check . run: npx prettier --check .
- name: Run ESLint on web client - name: Run ESLint on web client
run: cd web && yarn lint working-directory: web
run: yarn lint
- name: Run Typescript checker on web client - name: Run Typescript checker on web client
run: tsc --pretty --project web/tsconfig.json --noEmit working-directory: web
run: tsc --pretty --project tsconfig.json --noEmit
- name: Run Typescript checker on cloud functions - name: Run Typescript checker on cloud functions
run: tsc --pretty --project functions/tsconfig.json --noEmit working-directory: functions
run: tsc --pretty --project tsconfig.json --noEmit