Skip to content

Commit 1187f4d

Browse files
fix: Release build now runs out of memory (#3118)
- Updated the `release.yml` to add the `NODE_OPTIONS` to increase memory for the `npm run build` the same way we did in the `ci.yml`
1 parent d6b3c1b commit 1187f4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
node-version: 16.x
1616
- run: npm ci
1717
- run: npm run build
18+
env:
19+
NODE_OPTIONS: --max_old_space_size=4096
1820
- run: npm test
1921
- run: npm run lint
2022
- run: npm run cs-check

0 commit comments

Comments
 (0)