Skip to content

Commit

Permalink
Try limiting ram usage with NODE_OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Dec 6, 2023
1 parent 25e1e67 commit d3c399c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
with:
arch: aarch64
distro: ubuntu_latest
env: |
NODE_OPTIONS: "--max-old-space-size=5120"
install: |
# install deps
apt update
Expand All @@ -75,6 +77,10 @@ jobs:
apt update
apt install -y nodejs
run: |
npm -v
echo $NODE_OPTIONS
echo $(free -m)
df -h
# Build
# git config --global --add safe.directory '*'
npm ci
Expand Down

0 comments on commit d3c399c

Please sign in to comment.