Skip to content

Commit aa752f2

Browse files
committed
docs: add note about overwriting node options
1 parent fa42241 commit aa752f2

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ variable | description
3636
> Some Expo commands don't require authentication.
3737
> Simply omit the `secrets = [...]` if you don't need it.
3838
39+
### Some caveats
40+
41+
#### Overwriting `NODE_OPTIONS`
42+
43+
By default, Node has a "limited" memory limit.
44+
To fully use the available memory in GitHub Actions, the `NODE_OPTIONS` variable is set to `--max_old_space_size=4096`.
45+
If you need to overwrite this variable, make sure you add this value too or risk Node running out of memory.
46+
See [issue #12][link-issue-memory] for more info.
47+
3948
## Example workflows
4049

4150
Before you dive into the workflow examples, you should know the basics of GitHub Actions.
@@ -154,3 +163,4 @@ The MIT License (MIT). Please see [License File](LICENSE.md) for more informatio
154163
[link-expo]: https://expo.io
155164
[link-expo-cli]: https://docs.expo.io/versions/latest/workflow/expo-cli
156165
[link-expo-cli-password]: https://github.com/expo/expo-cli/blob/8ea616d8848a123270b97e226e33dcb3dde49653/packages/expo-cli/src/accounts.js#L94
166+
[link-issue-memory]: https://github.com/expo/expo-github-action/issues/12

0 commit comments

Comments
 (0)