[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
Some checks failed
Deploy SOLUTION_ERP / build-deploy (push) Failing after 2m38s
This commit is contained in:
@ -43,8 +43,8 @@ jobs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
working-directory: fe-admin
|
working-directory: fe-admin
|
||||||
run: |
|
run: |
|
||||||
# npm install (not ci) - resolves platform-specific optional deps
|
# Vite 8 rolldown native binding must match platform; fresh resolve on Windows
|
||||||
# (rolldown native binding for win32-x64 missing from lock)
|
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' install --no-audit --no-fund
|
||||||
& 'C:\Program Files\nodejs\npm.cmd' run build
|
& 'C:\Program Files\nodejs\npm.cmd' run build
|
||||||
|
|
||||||
@ -52,6 +52,7 @@ jobs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
working-directory: fe-user
|
working-directory: fe-user
|
||||||
run: |
|
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' install --no-audit --no-fund
|
||||||
& 'C:\Program Files\nodejs\npm.cmd' run build
|
& 'C:\Program Files\nodejs\npm.cmd' run build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user