From 0754e9d049382f647b668de5d07178296648238b Mon Sep 17 00:00:00 2001 From: rash Date: Tue, 17 Mar 2026 14:08:37 +0100 Subject: [PATCH] check if vite build artefacts are in the wheel --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 569822798e..3ca75c8f44 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,4 +46,7 @@ jobs: - name: Run build run: python -m build - name: Check files - run: unzip -l dist/pretix*whl | grep node_modules || exit 1 + run: | + for pat in 'static.dist/vite/widget/widget.js' 'static.dist/vite/control/assets/checkinrules/main-' 'static.dist/vite/control/assets/webcheckin/main-'; do + unzip -l dist/pretix*whl | grep -q "$pat" || { echo "Missing: $pat"; exit 1; } + done