raise RAM, second attempt
This commit is contained in:
parent
50719113b1
commit
fef2c26cbe
@ -10,6 +10,9 @@ npm run pre-build
|
|||||||
rm ./dist-zip/uw-amo-source.zip
|
rm ./dist-zip/uw-amo-source.zip
|
||||||
mv -f ./dist-zip/*.zip ./build/old
|
mv -f ./dist-zip/*.zip ./build/old
|
||||||
|
|
||||||
|
# lets force raise ram limit, but the improper way
|
||||||
|
# export NODE_OPTIONS=--max_old_space_size=4096
|
||||||
|
|
||||||
# build the version for each browser and create a zip afterwards
|
# build the version for each browser and create a zip afterwards
|
||||||
# step 1: define build functions
|
# step 1: define build functions
|
||||||
#function buildFF {
|
#function buildFF {
|
||||||
|
@ -38,7 +38,7 @@ if [ ! -z "$GIT_COMMIT" ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# let's raise RAM limit for npm command globally
|
# let's raise RAM limit for npm command globally
|
||||||
alias npm='node --max_old_space_size=2048 /usr/bin/npm'
|
NODE_OPTIONS=--max_old_space_size=4096
|
||||||
|
|
||||||
npm ci
|
npm ci
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user