1
0
mirror of https://github.com/laurent22/joplin.git synced 2026-04-18 19:42:23 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Laurent 6634bd2d13 Update run_ci.sh 2021-10-10 11:32:09 +01:00
Laurent Cozic c6fde93e8b try to fix ci 2021-10-10 10:56:20 +01:00
+7
View File
@@ -62,6 +62,13 @@ npm install
if [ "$IS_PULL_REQUEST" == "1" ] || [ "$IS_DEV_BRANCH" = "1" ]; then
echo "Step: Running tests..."
# Need this because we're getting this error:
#
# @joplin/lib: FATAL ERROR: Ineffective mark-compacts near heap limit
# Allocation failed - JavaScript heap out of memory
#
# https://stackoverflow.com/questions/38558989
export NODE_OPTIONS="--max-old-space-size=4096"
npm run test-ci
testResult=$?
if [ $testResult -ne 0 ]; then