Skip to content

Commit

Permalink
add: attempt increase swap memory
Browse files Browse the repository at this point in the history
  • Loading branch information
brianzinn committed Feb 3, 2023
1 parent 607ceb8 commit efd3733
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,17 @@ jobs:
registry-url: 'https://registry.npmjs.org'
scope: brianzinn

- name: Set Swap Space
if: runner.os == 'Linux'
uses: pierotofy/set-swap-space@v1.0
with:
swap-size-gb: 4

- name: install build react-babylon
env:
NODE_OPTIONS: "--max_old_space_size=2048"
NODE_OPTIONS: "--max_old_space_size=4096"
run: |
npm install -g yarn
yarn install
yarn build
Expand Down

0 comments on commit efd3733

Please sign in to comment.