From e4e4b49ba883bf7b8c2942165ca725f5a9fe65b6 Mon Sep 17 00:00:00 2001 From: Shun Usami Date: Sat, 28 Oct 2023 23:39:55 +0900 Subject: [PATCH] [Makefile] Add frontend build to test target --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a500b440..ff3287d7 100644 --- a/Makefile +++ b/Makefile @@ -26,10 +26,12 @@ clean: .PHONY: test test: build + # Test building frontend + docker compose -f compose.yml -f compose.dev.yml run frontend npm run build # Unit tests for backend - docker compose -f compose.yml -f compose.dev.yml run backend sh -c "yarn test" + docker compose -f compose.yml -f compose.dev.yml run backend yarn test # E2E tests for backend - docker compose -f compose.yml -f compose.dev.yml run backend sh -c "yarn test:e2e" + docker compose -f compose.yml -f compose.dev.yml run backend yarn test:e2e .PHONY: e2e e2e: