diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6be812486ad7b14043ce1cc77131790c7bbf8c2..df7d5559bcaaaf10d9695db2af3aa2c6c0a7a1a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,5 @@ image: registry.gitlab.tugraz.at/dbp/topics/signature/main:v1 -variables: - NODE_OPTIONS: '--max-old-space-size=4096' - cache: key: $CI_PROJECT_PATH paths: diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile index c5f286f3f9cd8f92dc5e8bdbbace884530ae8fdd..833b7da8af5fb3edbb017d17c45fd43fe4d26aaf 100644 --- a/.gitlab-ci/Dockerfile +++ b/.gitlab-ci/Dockerfile @@ -41,4 +41,7 @@ RUN mkdir -p "${COMPOSER_HOME}" ADD composer.lock "${COMPOSER_HOME}" ADD composer.json "${COMPOSER_HOME}" RUN composer global install -ENV PATH "${COMPOSER_HOME}/vendor/bin:${PATH}" \ No newline at end of file +ENV PATH "${COMPOSER_HOME}/vendor/bin:${PATH}" + +# https://stackoverflow.com/questions/53230823 +ENV NODE_OPTIONS '--max-old-space-size=2048'