Skip to content

Update package.json

Update package.json #8

Workflow file for this run

name: Frontend CI
on:
push:
branches: [ "main" ]
paths:
- 'frontend/**'
pull_request:
branches: [ "main" ]
paths:
- 'frontend/**'
jobs:
build-and-lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run Linter
run: npm run lint
- name: Build (Typecheck & Vite Build)
run: npm run build