diff --git a/.circleci/config.yml b/.circleci/config.yml index 63e3794e6..f56bccd84 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,11 +11,11 @@ jobs: - image: cimg/redis:7.0.5 working_directory: ~/repo - resource_class: large + resource_class: medium+ environment: - # Customize the JVM maximum heap limit - JVM_OPTS: -Xmx4g + JAVA_OPTS: -Xmx4g -Xms100m -XX:+UseSerialGC + NODE_OPTIONS: --max-old-space-size=4096 steps: - checkout @@ -72,11 +72,6 @@ jobs: yarn test clojure -X:dev:test :patterns '["common-tests.*-test"]' - environment: - PATH: /usr/local/nodejs/bin/:/usr/local/bin:/bin:/usr/bin - JVM_OPTS: -Xmx4g - NODE_OPTIONS: --max-old-space-size=4096 - - run: name: "frontend tests" working_directory: "./frontend" @@ -84,10 +79,6 @@ jobs: yarn install yarn test - environment: - PATH: /usr/local/nodejs/bin/:/usr/local/bin:/bin:/usr/bin - NODE_OPTIONS: --max-old-space-size=4096 - - run: name: "backend tests" working_directory: "./backend" @@ -99,7 +90,6 @@ jobs: PENPOT_TEST_DATABASE_USERNAME: penpot_test PENPOT_TEST_DATABASE_PASSWORD: penpot_test PENPOT_TEST_REDIS_URI: "redis://localhost/1" - JVM_OPTS: -Xmx4g - save_cache: paths: