Pārlūkot izejas kodu

SONAR-22072 Limit jest memory consumption in CI

pull/3360/head
Grégoire Aubert pirms 1 mēnesi
vecāks
revīzija
fd4670d7ee
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3
    2
      server/sonar-web/design-system/package.json

+ 3
- 2
server/sonar-web/design-system/package.json Parādīt failu

@@ -11,9 +11,10 @@
"build-release": "yarn install --immutable && yarn build",
"lint": "eslint --ext js,ts,tsx,snap src",
"lint-report-ci": "yarn install --immutable && eslint --ext js,ts,tsx -f json -o eslint-report/eslint-report.json src || yarn lint",
"test": "jest",
"test": "jest --workerIdleMemoryLimit=1G",
"test-ci": "NODE_OPTIONS=\"-r dd-trace/ci/init\" jest --coverage --maxWorkers=5 --workerIdleMemoryLimit=2G --ci",
"ts-check": "tsc --noEmit",
"validate-ci": "yarn install --immutable && yarn ts-check && yarn format-check && NODE_OPTIONS=\"-r dd-trace/ci/init\" yarn test --coverage --ci"
"validate-ci": "yarn install --immutable && yarn ts-check && yarn format-check && yarn test-ci"
},
"devDependencies": {
"@babel/core": "7.23.9",

Notiek ielāde…
Atcelt
Saglabāt