From d109531a258bca2a98b6529b65b5b8ea762b13e0 Mon Sep 17 00:00:00 2001 From: Johannes Metzner Date: Fri, 18 Jun 2021 15:56:02 +0200 Subject: [PATCH] chore: increase memory for github workflow --- .github/workflows/development.yml | 2 ++ Dockerfile_reports | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index a35a1cda8a..eb46c9d64b 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -53,6 +53,8 @@ jobs: - name: Compile Angular run: npm run ng -- build --aot + env: + NODE_OPTIONS: --max_old_space_size=8192 - name: Compile Unit Tests run: npx tsc -p tsconfig.all.json diff --git a/Dockerfile_reports b/Dockerfile_reports index dfdb978c4a..613e90cab2 100644 --- a/Dockerfile_reports +++ b/Dockerfile_reports @@ -1,6 +1,7 @@ FROM node:14 as reporting WORKDIR /workspace ENV CI=true +ENV NODE_OPTIONS="--max_old_space_size=8192" COPY . /workspace/ RUN npm i --ignore-scripts RUN npm run postinstall