From 519ba85f22e5f41ddd4ff99382d39cf4029ef7bd Mon Sep 17 00:00:00 2001 From: pqhuy1987 Date: Tue, 21 Apr 2026 14:46:37 +0700 Subject: [PATCH] [CLAUDE] CICD: use npm install (not ci) to resolve Vite 8 rolldown native binding on Windows --- .gitea/workflows/deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 37bab3c..300b1d8 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -43,14 +43,16 @@ jobs: shell: powershell working-directory: fe-admin run: | - & 'C:\Program Files\nodejs\npm.cmd' ci + # npm install (not ci) - resolves platform-specific optional deps + # (rolldown native binding for win32-x64 missing from lock) + & 'C:\Program Files\nodejs\npm.cmd' install --no-audit --no-fund & 'C:\Program Files\nodejs\npm.cmd' run build - name: Build fe-user shell: powershell working-directory: fe-user run: | - & 'C:\Program Files\nodejs\npm.cmd' ci + & 'C:\Program Files\nodejs\npm.cmd' install --no-audit --no-fund & 'C:\Program Files\nodejs\npm.cmd' run build - name: Deploy to IIS (local)