File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 runs-on : ${{ matrix.os }}
1717
1818 strategy :
19+ # One platform's failure shouldn't cancel the other two — a macOS OOM
20+ # took the Linux and Windows builds down with it on v0.11.0, so the run
21+ # reported nothing about whether they would have succeeded.
22+ fail-fast : false
1923 matrix :
2024 os : [macos-latest, ubuntu-latest, windows-latest]
2125
5054 - name : Build and Release
5155 uses : samuelmeuli/action-electron-builder@v1
5256 env :
57+ # Vite's sourcemap generation is the memory ceiling on this build: the
58+ # main chunk is ~3.2MB and its map ~12.5MB, and producing that lot
59+ # peaks around 2.8GB RSS. The macOS arm64 runner has 7GB, so Node 20
60+ # sizes its old-space heap at roughly 2GB by default — which v0.10.2
61+ # fit under and v0.11.0 does not. Raise it rather than shrink the
62+ # build, so releases don't fail on the next few hundred KB either.
63+ NODE_OPTIONS : --max-old-space-size=4096
5364 # Apple Notarization
5465 APPLE_ID : ${{ secrets.APPLE_ID }}
5566 APPLE_APP_SPECIFIC_PASSWORD : ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
You can’t perform that action at this time.
0 commit comments