From 40438b400f90fa2900e6e579156afd9afeac4e03 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Tue, 30 Jan 2024 21:52:11 +0530 Subject: [PATCH] ci: set node env as production in tests --- .github/workflows/server-tests.yml | 2 ++ .github/workflows/ui-tests.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/server-tests.yml b/.github/workflows/server-tests.yml index 39dc99374e71..9da7244527fb 100644 --- a/.github/workflows/server-tests.yml +++ b/.github/workflows/server-tests.yml @@ -43,6 +43,8 @@ jobs: needs: checkrun if: ${{ needs.checkrun.outputs.build == 'strawberry' }} timeout-minutes: 60 + env: + NODE_ENV: "production" strategy: fail-fast: false diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 33a7cde8f4ff..ecda8cc6b1e0 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -42,6 +42,8 @@ jobs: needs: checkrun if: ${{ needs.checkrun.outputs.build == 'strawberry' && github.repository_owner == 'frappe' }} timeout-minutes: 60 + env: + NODE_ENV: "production" strategy: fail-fast: false