chore: import upstream snapshot with attribution
Check asset sync / cli/assets must match src/ui-ux-pro-max (push) Failing after 4s
Release / Semantic release (push) Has been skipped
Smoke test data / smoke (push) Failing after 0s

This commit is contained in:
wehub-resource-sync
2026-07-13 11:58:17 +08:00
commit a6e8bcde90
483 changed files with 67346 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
+64
View File
@@ -0,0 +1,64 @@
name: Release
on:
push:
branches:
- main
- dev
workflow_dispatch:
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false
jobs:
release:
name: Semantic release
runs-on: ubuntu-latest
if: github.repository == 'nextlevelbuilder/ui-ux-pro-max-skill'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
cache-dependency-path: cli/package-lock.json
- name: Install CLI dependencies
working-directory: cli
run: npm ci
- name: Build CLI
working-directory: cli
run: npm run build
- name: Run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npx --yes \
-p semantic-release \
-p @semantic-release/commit-analyzer \
-p @semantic-release/release-notes-generator \
-p @semantic-release/npm \
-p @semantic-release/github \
-p conventional-changelog-conventionalcommits \
semantic-release
+36
View File
@@ -0,0 +1,36 @@
name: Smoke test data
on:
pull_request:
paths:
- 'src/ui-ux-pro-max/data/**'
- 'src/ui-ux-pro-max/scripts/**'
- 'cli/assets/data/**'
- 'cli/assets/scripts/**'
- 'scripts/validate-csv.py'
- 'scripts/smoke-stacks.sh'
- 'scripts/smoke-domains.sh'
- '.github/workflows/smoke-stacks.yml'
push:
branches: [main]
workflow_dispatch:
jobs:
smoke:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Validate CSV structure
run: python3 scripts/validate-csv.py
- name: Run domain smoke test
run: bash scripts/smoke-domains.sh
- name: Run stack smoke test
run: bash scripts/smoke-stacks.sh