ci: reduce ram usage when building
This commit is contained in:
parent
263f4c2b6a
commit
7da9699ebb
@ -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