From a13034cf353e47ce1f436872d2f7526462bf25ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sat, 17 Jun 2023 02:49:49 +0100 Subject: [PATCH] ci: reduce ram usage when building --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index 027ff27..3335819 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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