Files
libnovel/.gitea/workflows/ci-ui.yaml
Admin 54616b82d7
Some checks failed
CI / Scraper / Lint (pull_request) Successful in 35s
CI / Scraper / Test (pull_request) Successful in 15s
CI / Scraper / Build (pull_request) Failing after 10s
CI / UI / Build (pull_request) Successful in 6m31s
ci: split into dedicated scraper and ui workflows
2026-03-06 11:38:28 +05:00

41 lines
895 B
YAML

name: CI / UI
on:
push:
branches: ["main", "master"]
paths:
- "ui/**"
- ".gitea/workflows/ci-ui.yaml"
pull_request:
branches: ["main", "master"]
paths:
- "ui/**"
- ".gitea/workflows/ci-ui.yaml"
defaults:
run:
working-directory: ui
jobs:
# ── type-check & build ───────────────────────────────────────────────────────
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
cache-dependency-path: ui/package-lock.json
- name: Install dependencies
run: npm ci
- name: Type check
run: npm run check
- name: Build
run: npm run build