File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ jobs:
109109 run : cat gatsby-config.js
110110
111111 - name : Build
112+ env :
113+ NODE_OPTIONS : --max-old-space-size=8192
112114 run : npm run build
113115
114116 - name : Clean up node_modules # Just to save space
Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ jobs:
109109 run : cat gatsby-config.js
110110
111111 - name : Build
112+ env :
113+ NODE_OPTIONS : --max-old-space-size=8192
112114 run : npm run build
113115
114116 - name : Clean up node_modules # Just to save space
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ jobs:
122122 ${{ runner.os }}-public-gatsby-main
123123
124124 - run : npm install
125- - run : GATSBY_HF_CDN_URL="" npm run build
125+ - run : GATSBY_HF_CDN_URL="" NODE_OPTIONS=--max-old-space-size=8192 npm run build
126126
127127 - name : Install Netlify
128128 run :
npm install [email protected] -g
You can’t perform that action at this time.
0 commit comments