Don't ignore lockfiles on linux/windows builds (#3859)

This commit is contained in:
Jack Amadeo
2025-08-06 11:03:21 -04:00
committed by GitHub
parent 6b93260fd0
commit 90ef14979d
2 changed files with 0 additions and 12 deletions
@@ -209,8 +209,6 @@ jobs:
- name: Install npm dependencies
run: |
cd ui/desktop
# Clear npm cache and remove lock file as suggested by the error
rm -rf node_modules package-lock.json || true
npm cache clean --force || true
npm install
# Verify installation
@@ -276,17 +276,7 @@ jobs:
run: |
cd ui/desktop
# Fix for rollup native module issue (npm optional dependencies bug)
echo "🔧 Fixing npm optional dependencies issue..."
rm -rf node_modules package-lock.json
npm install
# Verify rollup native module is installed
if [ ! -d "node_modules/@rollup/rollup-linux-x64-gnu" ]; then
echo "⚠️ Rollup native module missing, installing manually..."
npm install @rollup/rollup-linux-x64-gnu --save-optional
fi
npm run bundle:windows
# 7) Copy exe/dll to final out folder and prepare flat distribution