Skip to content

feat: add Prettier and format the codebase (Closes #82) #28

feat: add Prettier and format the codebase (Closes #82)

feat: add Prettier and format the codebase (Closes #82) #28

Workflow file for this run

name: Lighthouse CI
on:
pull_request:
branches: [main]
workflow_dispatch:
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Check formatting (Prettier)
run: npm run format:check
- name: Build app
run: npm run build
- name: Run Lighthouse CI
run: npm run lighthouse