0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

📎 Add minor adjustments on CI config

This commit is contained in:
Andrey Antukh 2023-12-04 19:13:14 +01:00 committed by Andrés Moya
parent a341a956b8
commit d1265a5ea4

View file

@ -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: