[CLAUDE] CICD: use npm install (not ci) to resolve Vite 8 rolldown native binding on Windows
Some checks failed
Deploy SOLUTION_ERP / build-deploy (push) Failing after 1m0s

This commit is contained in:
pqhuy1987
2026-04-21 14:46:37 +07:00
parent 489a0054fa
commit 519ba85f22

View File

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