chore(ddev): ddev tests now also runs npm run build
CI / test (push) Has been cancelled

So the public/build/ bundle that ships in the next deploy always matches
the source the tests just verified. Without it, the previous "Remove
this frame" feature shipped source-correct but compiled-stale, and the
button never appeared on the deployed PWA.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-08 15:50:46 -04:00
parent db67299224
commit 77f54dc6f5
+7
View File
@@ -16,3 +16,10 @@ echo "── Frontend typecheck + tests ─────────────
cd frontend
npx vue-tsc --noEmit -p tsconfig.app.json
npx vitest run
echo
echo "── Frontend production build ──────────────────────────"
# Rebuild public/build/ so what gets committed matches what passed tests.
# Without this step, deploys can ship source-correct features whose
# compiled bundle is stale (verified failure mode 2026-05-09).
npm run build