Release v0.2.7: Update package-lock.json and CI config

This commit is contained in:
Joan
2025-11-28 12:10:45 +01:00
parent 6ea93d5fdd
commit 2a861079bd
2 changed files with 11280 additions and 17 deletions

View File

@@ -19,7 +19,7 @@ build:web:
image: node:20-alpine
script:
- cd pwa
- npm install
- npm ci
- npm run build
artifacts:
paths:
@@ -38,18 +38,36 @@ build:linux:
- build:web
script:
- cd pwa
# Clean install to fix optional dependencies issue
- rm -rf node_modules package-lock.json
- npm install
- npm ci
- npm run electron:build:linux
# Compress artifacts to reduce size
- cd dist-electron
- apt-get update && apt-get install -y zip
- zip linux-builds.zip *.AppImage *.deb
- echo "=== AppImage size ==="
- ls -lh dist-electron/*.AppImage
- du -h dist-electron/*.AppImage
artifacts:
paths:
- pwa/dist-electron/linux-builds.zip
- pwa/dist-electron/*.AppImage
expire_in: 1 week
name: "linux-appimage-$CI_COMMIT_TAG"
rules:
- if: '$CI_COMMIT_TAG'
tags:
- docker
# Build Linux .deb (separate job to avoid size limits)
build:linux-deb:
stage: build-desktop
image: electronuserland/builder:wine
dependencies:
- build:web
script:
- cd pwa
- npm ci
- npm run electron:build:linux
artifacts:
paths:
- pwa/dist-electron/*.deb
expire_in: 1 week
name: "linux-deb-$CI_COMMIT_TAG"
rules:
- if: '$CI_COMMIT_TAG'
tags:
@@ -63,18 +81,18 @@ build:windows:
- build:web
script:
- cd pwa
# Clean install to fix optional dependencies issue
- rm -rf node_modules package-lock.json
- npm install
- npm ci
- npm run electron:build:win
# Compress artifacts to reduce size
- cd dist-electron
- apt-get update && apt-get install -y zip
- zip windows-builds.zip *.exe || true
# Show file sizes
- echo "=== Build artifacts ==="
- ls -lh dist-electron/*.exe || echo "No .exe files found"
- echo "=== Total size ==="
- du -sh dist-electron/
artifacts:
paths:
- pwa/dist-electron/windows-builds.zip
- pwa/dist-electron/*.exe
expire_in: 1 week
name: "windows-installer-$CI_COMMIT_TAG"
rules:
- if: '$CI_COMMIT_TAG'
tags:

11245
pwa/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff