Skip to content

Commit

Permalink
[Update] build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aoichaan0513 committed Aug 15, 2022
1 parent fe3af1f commit 2fbe7de
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,13 @@ jobs:
with:
node-version: 16

- name: Install Required Build Toolchain (Windows, Linux)
- name: Install Required Build Toolchain (Linux)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install gcc-multilib g++-multilib
sudo apt-get install --no-install-recommends -y libopenjp2-tools
- name: Set "NODE_OPTIONS" (Windows, Linux)
if: matrix.os == 'windows-latest'
run: |
set NODE_OPTIONS="--max-old-space-size=6144 --gc_interval=100"
echo %NODE_OPTIONS%
- name: Set "NODE_OPTIONS" (macOS)
if: matrix.os == 'macos-latest'
run: |
export NODE_OPTIONS="--max-old-space-size=10240 --gc_interval=100"
echo $NODE_OPTIONS
- name: Set "NODE_OPTIONS" Linux)
if: matrix.os == 'ubuntu-latest'
run: |
export NODE_OPTIONS="--max-old-space-size=6144 --gc_interval=100"
echo $NODE_OPTIONS
- name: Install Dependencies
run: yarn install --frozen-lockfile

Expand Down

0 comments on commit 2fbe7de

Please sign in to comment.