mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2024-11-23 21:22:16 +00:00
ci: reduce ram usage when building
This commit is contained in:
parent
b277000c2a
commit
a13034cf35
@ -15,6 +15,8 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
# 让 npm 使用淘宝源
|
# 让 npm 使用淘宝源
|
||||||
npm_config_registry: https://registry.npmmirror.com
|
npm_config_registry: https://registry.npmmirror.com
|
||||||
|
# 限制内存使用
|
||||||
|
NODE_OPTIONS: --max-old-space-size=512
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: node:18.16.0-bullseye
|
image: node:18.16.0-bullseye
|
||||||
|
Loading…
Reference in New Issue
Block a user