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

Commit

Permalink
WIP ci/test: add NODE_OPTIONS max_old_space_size=500 (#8163)
Browse files Browse the repository at this point in the history
* ci/test: add NODE_OPTIONS max_old_space_size=500

* update gitlab to use the same
  • Loading branch information
Carlos Tadeu Panato Junior authored May 26, 2021
1 parent 0219752 commit 8e92406
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
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

0 comments on commit 8e92406

Please sign in to comment.