Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

ci/test: add NODE_OPTIONS max_old_space_size=500 #8163

Merged
merged 2 commits into from
May 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ test: #todo check on how to create junit.xml, there currently is none
- npm run check

# unit tests
- npm run test-ci-gitlab
- npm run test-ci
timeout: 3 hours
rules:
- if: '$CI_COMMIT_REF_NAME == "master" && $TEST == "yes"'
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,7 @@
"run": "webpack --progress --watch",
"dev-server": "webpack serve --mode development",
"test": "jest --maxWorkers=50%",
"test-ci": "jest --ci --maxWorkers=4",
"test-ci-gitlab": "jest --ci --maxWorkers=4",
"test-ci": "NODE_OPTIONS=--max_old_space_size=500 jest --ci --maxWorkers=8",
"stats": "cross-env NODE_ENV=production webpack --profile --json > webpack_stats.json",
"updatesnapshot": "jest --updateSnapshot",
"test:debug": "jest --forceExit --detectOpenHandles",
Expand Down