mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
Don't ignore lockfiles on linux/windows builds (#3859)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user