Issue 8 vuetify colour theme config #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Frontend code checks | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: ["opened", "synchronize", "reopened", "edited"] | |
workflow_dispatch: | |
jobs: | |
format: | |
name: Run Prettier | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: client | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
cache: "npm" | |
cache-dependency-path: client/package-lock.json | |
- name: Install dependencies | |
run: npm i | |
- name: Run Prettier | |
run: npm run format:check | |
lint: | |
name: Run ESLint | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: client | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
cache: "npm" | |
cache-dependency-path: client/package-lock.json | |
- name: Install dependencies | |
run: npm i | |
- name: Run Eslint | |
run: npm run lint:strict | |
typecheck: | |
name: Check types | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: client | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
cache: "npm" | |
cache-dependency-path: client/package-lock.json | |
- name: Install dependencies | |
run: npm i | |
- name: Run tsc | |
run: npm run typecheck |