diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 300b1d8..7ecef57 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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