[CLAUDE] CICD: fresh node_modules per build (Vite 8 rolldown native binding platform resolve)
Some checks failed
Deploy SOLUTION_ERP / build-deploy (push) Failing after 2m38s

This commit is contained in:
pqhuy1987
2026-04-21 14:53:16 +07:00
parent 519ba85f22
commit 5709092e08

View File

@ -43,8 +43,8 @@ jobs:
shell: powershell
working-directory: fe-admin
run: |
# npm install (not ci) - resolves platform-specific optional deps
# (rolldown native binding for win32-x64 missing from lock)
# Vite 8 rolldown native binding must match platform; fresh resolve on Windows
Remove-Item node_modules, package-lock.json -Recurse -Force -ErrorAction SilentlyContinue
& 'C:\Program Files\nodejs\npm.cmd' install --no-audit --no-fund
& 'C:\Program Files\nodejs\npm.cmd' run build
@ -52,6 +52,7 @@ jobs:
shell: powershell
working-directory: fe-user
run: |
Remove-Item node_modules, package-lock.json -Recurse -Force -ErrorAction SilentlyContinue
& 'C:\Program Files\nodejs\npm.cmd' install --no-audit --no-fund
& 'C:\Program Files\nodejs\npm.cmd' run build