Skip to content

fix: UI/UX polish — 42 issues across 3 waves #22

fix: UI/UX polish — 42 issues across 3 waves

fix: UI/UX polish — 42 issues across 3 waves #22

Workflow file for this run

name: Frontend CI
on:
push:
branches: [main]
paths:
- "src/logistics-dashboard/**"
- ".github/workflows/frontend-ci.yml"
pull_request:
branches: [main]
paths:
- "src/logistics-dashboard/**"
- ".github/workflows/frontend-ci.yml"
concurrency:
group: frontend-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/logistics-dashboard
steps:
- uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
cache-dependency-path: src/logistics-dashboard/package-lock.json
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
build-and-test:
name: Build & Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/logistics-dashboard
steps:
- uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
cache-dependency-path: src/logistics-dashboard/package-lock.json
- name: Install dependencies
run: npm ci
- name: Type check
run: npx tsc -b --noEmit
- name: Run tests
run: npm test
- name: Build
run: npm run build
env:
VITE_API_URL: https://logistics-inventory-api-abdallah.azurewebsites.net