From 2e81b132580e815ebe27ee2db3096a8d8aa9e5f1 Mon Sep 17 00:00:00 2001 From: gary-van-woerkens Date: Thu, 9 Dec 2021 23:40:12 +0100 Subject: [PATCH] fix: add NODE_OPTIONS --- .github/workflows/production.yml | 2 ++ .github/workflows/review.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index af5cc2af..80188ced 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -50,6 +50,8 @@ jobs: productionNamespace: fabrique rancherId: ${{ secrets.RANCHER_PROJECT_ID }} socialgouvBaseDomain: ${{ secrets.SOCIALGOUV_BASE_DOMAIN }} + env: + NODE_OPTIONS: '--max_old_space_size=4096' - name: Use autodevops deployment uses: SocialGouv/actions/autodevops-deploy@v1 diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 8e066975..b7a72b08 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -47,6 +47,8 @@ jobs: environment: dev rancherId: ${{ secrets.RANCHER_PROJECT_ID }} socialgouvBaseDomain: ${{ secrets.SOCIALGOUV_BASE_DOMAIN }} + env: + NODE_OPTIONS: '--max_old_space_size=4096' ############################################################################## ## DEPLOY APPLICATION OVER KUBERNETES