feat(custom-widgets): complete Custom JSX v2 (#6390)

This commit is contained in:
Thomas authored and ajnart committed 2026-08-13 19:48:57 +02:00
1 parent 3a1245cbc5
commit acdfcbb18e
416 files changed
+37853 -18066

No files matched your search

+12
View File
@@ -312,6 +312,18 @@ jobs:
"${PREVIEW_IMAGE}@${AMD64_DIGEST}" \
"${PREVIEW_IMAGE}@${ARM64_DIGEST}"
- name: Verify preview manifest platforms
if: "!env.ACT"
run: |
image="${PREVIEW_IMAGE}:${PREVIEW_TAG}"
manifest="$(docker buildx imagetools inspect "$image" --raw)"
for architecture in amd64 arm64; do
jq --exit-status --arg architecture "$architecture" \
'any(.manifests[]; .platform.os == "linux" and .platform.architecture == $architecture)' \
<<<"$manifest" >/dev/null
done
docker buildx imagetools inspect "$image"
cleanup:
name: Clean up preview image
if: github.event_name == 'pull_request_target' || (github.event_name == 'workflow_dispatch' && inputs.operation == 'cleanup')
+42
View File
@@ -0,0 +1,42 @@
name: Workshop
on:
pull_request:
paths:
- "apps/workshop/**"
- "apps/docs/**"
- "packages/workshop/**"
- "packages/custom-widgets/**"
- "pnpm-lock.yaml"
- ".github/workflows/workshop.yml"
push:
branches: [dev, v2]
paths:
- "apps/workshop/**"
- "apps/docs/**"
- "packages/workshop/**"
- "packages/custom-widgets/**"
- "pnpm-lock.yaml"
- ".github/workflows/workshop.yml"
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: 24.18.0
- uses: pnpm/action-setup@v6
with:
version: 11.11.0
run_install: false
- run: pnpm install --frozen-lockfile
- run: pnpm --filter @homarr/workshop typecheck
- run: pnpm --filter @homarr/docs typecheck
- run: pnpm test:workshop
- run: docker build --target production -f apps/workshop/Dockerfile .