From 75298f6e4c693bce16687d2a3753395d3f52bc5e Mon Sep 17 00:00:00 2001 From: thanhnv Date: Wed, 1 Jul 2026 14:42:46 +0900 Subject: [PATCH] =?UTF-8?q?fix(ci):=20remove=20npm=20ci=20from=20security-?= =?UTF-8?q?gate=20=E2=80=94=20OOM-killed=20act-runner=20on=201GB=20VPS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit security-gate job was downloading ~300MB of React/Vite npm packages unnecessarily. casan-step.mjs uses only node:child_process, node:fs, node:os (built-ins) — no npm packages needed. Removing npm ci -w frontend saves ~300MB peak RAM in CI. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9c9ab54..c45254e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -76,9 +76,6 @@ jobs: echo "jq: $(jq --version)" echo "openssl: $(openssl version)" - - name: Install frontend dependencies - run: npm ci -w frontend - - name: Vault KMS — enable transit + pre-create keys run: | if curl -sf "$VAULT_ADDR/v1/sys/health" >/dev/null 2>&1; then