From 35e30bdcaf592d190ae52d67525b344704c9ccd6 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Tue, 5 Oct 2021 21:44:34 +0530 Subject: [PATCH] ci: fail build if asset bundling fails (#27820) --- .github/workflows/ui-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 658892c20e..d765f0482c 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -104,6 +104,8 @@ jobs: - name: Build Assets run: cd ~/frappe-bench/ && bench build + env: + CI: Yes - name: UI Tests run: cd ~/frappe-bench/ && bench --site test_site run-ui-tests erpnext --headless