Skip to content

Fixed linting issues (#1) #4

Fixed linting issues (#1)

Fixed linting issues (#1) #4

Workflow file for this run

name: Frontend CI
on:
push:
branches:
- "**"
paths:
- "frontend/**"
pull_request:
branches:
- "**"
paths:
- "frontend/**"
jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Format Frontend
run: |
cd frontend
npm install prettier
npx prettier --check .
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint frontend
run: |
cd frontend
npm install
npm run lint