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