Initial import from GitHub
Check asset sync / cli/assets must match src/ui-ux-pro-max (push) Has been cancelled
Release / Semantic release (push) Has been cancelled
Smoke test data / smoke (push) Has been cancelled

This commit is contained in:
红尘
2026-07-08 22:47:26 +08:00
commit d5334df59c
419 changed files with 66304 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
name: Check asset sync
on:
pull_request:
paths:
- "src/ui-ux-pro-max/**"
- "cli/assets/**"
- "cli/scripts/sync-assets.mjs"
- ".github/workflows/check-asset-sync.yml"
push:
branches: [main]
paths:
- "src/ui-ux-pro-max/**"
- "cli/assets/**"
jobs:
check-assets:
name: cli/assets must match src/ui-ux-pro-max
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
# check:assets runs `node scripts/sync-assets.mjs --check`, which uses only
# node builtins (no npm install needed) and normalizes CRLF/LF before
# hashing, so it compares content rather than line endings.
- name: Check CLI assets are in sync with source of truth
run: npm --prefix cli run check:assets