Add runs-on field to GitHub static analysis workflow

This commit is contained in:
Marshall Polaris 2022-05-21 12:44:35 -07:00
parent 1ddfd41a18
commit c0cc9cdb7a

View File

@ -27,23 +27,27 @@ jobs:
prettier: prettier:
needs: setup needs: setup
name: Run Prettier name: Run Prettier
runs-on: ubuntu-latest
steps: steps:
- run: npx prettier . - run: npx prettier .
eslint: eslint:
needs: setup needs: setup
name: Run ESLint on web client name: Run ESLint on web client
runs-on: ubuntu-latest
steps: steps:
- run: cd web && yarn lint - run: cd web && yarn lint
tsc-web: tsc-web:
needs: setup needs: setup
name: Run Typescript checker on web client name: Run Typescript checker on web client
runs-on: ubuntu-latest
steps: steps:
- run: tsc --pretty --project web/tsconfig.json --noEmit - run: tsc --pretty --project web/tsconfig.json --noEmit
tsc-functions: tsc-functions:
needs: setup needs: setup
name: Run Typescript checker on cloud functions name: Run Typescript checker on cloud functions
runs-on: ubuntu-latest
steps: steps:
- run: tsc --pretty --project functions/tsconfig.json --noEmit - run: tsc --pretty --project functions/tsconfig.json --noEmit