Skip to content

Format fix

Format fix #16

Workflow file for this run

name: Frontend CI
on:
push:
paths:
- "frontend/**"
- ".github/workflows/frontend-ci.yml"
pull_request:
branches:
- main
jobs:
prettier:
name: Code quality check
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: ./frontend/package-lock.json
- name: Clean install
working-directory: ./frontend
run: npm ci
- name: Prettier & Eslint
working-directory: ./frontend
run: npm run lint
- name: Svelte check
working-directory: ./frontend
run: npm run check