Files
Zakk 0daa826396 build(gui): Vuetify 4, TypeScript, Pinia, vue-i18n 11 in composition mode, Vitest, a PWA
The toolchain of the rewrite: Vite with vite-plugin-pwa (autoUpdate,
/api/ never cached), vue-tsc, ESLint's flat config, Vitest with
happy-dom and a mount helper, an i18n check and a gzip size gate in CI,
Red Hat Text self-hosted under /static/fonts.
2026-09-19 23:17:05 +10:00

35 lines
821 B
YAML

name: GUI Check
on:
pull_request:
paths:
- "gui/**"
- ".github/workflows/gui-check.yml"
push:
branches: [main]
paths:
- "gui/**"
jobs:
check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: gui
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: yarn
cache-dependency-path: gui/yarn.lock
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn typecheck
- run: yarn i18n-check
- run: yarn test
- run: OUTPUT_DIR=dist yarn build
# Reported only until the old component library leaves the bundle;
# the gate value is set in the plan's last milestone.
- run: node scripts/size-gate.mjs dist