mirror of
https://github.com/zuiidea/antd-admin.git
synced 2026-10-19 16:14:37 +00:00
* chore: align workspace tooling and refresh docs Unify pnpm workspace configuration and CI versioning, upgrade create package dependencies, and update README guidance for basic and with-lingui templates. Made-with: Cursor * chore: regenerate route tree files Update generated route tree outputs after recent formatting and script changes. Made-with: Cursor * ci: fix with-lingui e2e script name Use the existing test:e2e script in CI to avoid missing-script failures. Made-with: Cursor
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
name: with-lingui
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "apps/with-lingui/**"
|
|
- ".github/workflows/with-lingui-ci.yml"
|
|
- "pnpm-lock.yaml"
|
|
pull_request:
|
|
paths:
|
|
- "apps/with-lingui/**"
|
|
- ".github/workflows/with-lingui-ci.yml"
|
|
- "pnpm-lock.yaml"
|
|
|
|
jobs:
|
|
quality:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10.33.2
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
cache: "pnpm"
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Install Playwright Chromium
|
|
working-directory: apps/with-lingui
|
|
run: pnpm exec playwright install chromium
|
|
|
|
- name: Typecheck and lint
|
|
working-directory: apps/with-lingui
|
|
run: pnpm exec vp check --no-fmt
|
|
|
|
- name: I18n check
|
|
working-directory: apps/with-lingui
|
|
run: pnpm run i18n:check
|
|
|
|
- name: E2E (core)
|
|
working-directory: apps/with-lingui
|
|
run: pnpm run test:e2e
|
|
|
|
- name: Build
|
|
working-directory: apps/with-lingui
|
|
run: pnpm run build
|