Skip to content

Commit 2fbe7de

Browse files
committed
[Update] build.yml
1 parent fe3af1f commit 2fbe7de

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,13 @@ jobs:
2020
with:
2121
node-version: 16
2222

23-
- name: Install Required Build Toolchain (Windows, Linux)
23+
- name: Install Required Build Toolchain (Linux)
2424
if: matrix.os == 'ubuntu-latest'
2525
run: |
2626
sudo apt-get update
2727
sudo apt-get install gcc-multilib g++-multilib
2828
sudo apt-get install --no-install-recommends -y libopenjp2-tools
2929
30-
- name: Set "NODE_OPTIONS" (Windows, Linux)
31-
if: matrix.os == 'windows-latest'
32-
run: |
33-
set NODE_OPTIONS="--max-old-space-size=6144 --gc_interval=100"
34-
echo %NODE_OPTIONS%
35-
36-
- name: Set "NODE_OPTIONS" (macOS)
37-
if: matrix.os == 'macos-latest'
38-
run: |
39-
export NODE_OPTIONS="--max-old-space-size=10240 --gc_interval=100"
40-
echo $NODE_OPTIONS
41-
42-
- name: Set "NODE_OPTIONS" Linux)
43-
if: matrix.os == 'ubuntu-latest'
44-
run: |
45-
export NODE_OPTIONS="--max-old-space-size=6144 --gc_interval=100"
46-
echo $NODE_OPTIONS
47-
4830
- name: Install Dependencies
4931
run: yarn install --frozen-lockfile
5032

0 commit comments

Comments
 (0)