ci: reduce ram usage when building

This commit is contained in:
鲁树人 2023-06-17 02:49:49 +01:00
parent 263f4c2b6a
commit 7da9699ebb

View File

@ -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