From 09bcb9ea8283c2702b541bce9546f4ec2f825a5f Mon Sep 17 00:00:00 2001 From: PJ Date: Sat, 6 Jun 2026 12:49:03 +0530 Subject: [PATCH] ci(replay-ui): run bun test via make web-test target --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 57a4d7d..df0bee4 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ DOCS_TEMPLATE := docs/_template/page.html REPLAY_DIST := internal/replay/dist WEB_DIST := replay-ui/dist -.PHONY: bootstrap proto sidecar sanderling install test test-go test-browser test-kotlin test-spec-api web-typecheck web-build web-dev replay-dev docs clean release-cli release-npm-dry +.PHONY: bootstrap proto sidecar sanderling install test test-go test-browser test-kotlin test-spec-api web-test web-typecheck web-build web-dev replay-dev docs clean release-cli release-npm-dry bootstrap: $(GO) mod download @@ -69,11 +69,14 @@ $(SIDECAR_EMBED): $(SIDECAR_JAR) mkdir -p $(dir $@) cp $< $@ -test: test-go test-spec-api web-typecheck +test: test-go test-spec-api web-typecheck web-test test-go: $(GO) test $(GO_PACKAGES) +web-test: + cd replay-ui && bun install --frozen-lockfile && bun test + # Drives small web fixtures and the chrome driver through real headless Chrome. # Kept out of `test` because it needs a Chrome binary on PATH. test-browser: