Release v0.2.7: Update package-lock.json and CI config
This commit is contained in:
@@ -19,7 +19,7 @@ build:web:
|
|||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
script:
|
script:
|
||||||
- cd pwa
|
- cd pwa
|
||||||
- npm install
|
- npm ci
|
||||||
- npm run build
|
- npm run build
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@@ -38,18 +38,36 @@ build:linux:
|
|||||||
- build:web
|
- build:web
|
||||||
script:
|
script:
|
||||||
- cd pwa
|
- cd pwa
|
||||||
# Clean install to fix optional dependencies issue
|
- npm ci
|
||||||
- rm -rf node_modules package-lock.json
|
|
||||||
- npm install
|
|
||||||
- npm run electron:build:linux
|
- npm run electron:build:linux
|
||||||
# Compress artifacts to reduce size
|
- echo "=== AppImage size ==="
|
||||||
- cd dist-electron
|
- ls -lh dist-electron/*.AppImage
|
||||||
- apt-get update && apt-get install -y zip
|
- du -h dist-electron/*.AppImage
|
||||||
- zip linux-builds.zip *.AppImage *.deb
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- pwa/dist-electron/linux-builds.zip
|
- pwa/dist-electron/*.AppImage
|
||||||
expire_in: 1 week
|
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:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG'
|
- if: '$CI_COMMIT_TAG'
|
||||||
tags:
|
tags:
|
||||||
@@ -63,18 +81,18 @@ build:windows:
|
|||||||
- build:web
|
- build:web
|
||||||
script:
|
script:
|
||||||
- cd pwa
|
- cd pwa
|
||||||
# Clean install to fix optional dependencies issue
|
- npm ci
|
||||||
- rm -rf node_modules package-lock.json
|
|
||||||
- npm install
|
|
||||||
- npm run electron:build:win
|
- npm run electron:build:win
|
||||||
# Compress artifacts to reduce size
|
# Show file sizes
|
||||||
- cd dist-electron
|
- echo "=== Build artifacts ==="
|
||||||
- apt-get update && apt-get install -y zip
|
- ls -lh dist-electron/*.exe || echo "No .exe files found"
|
||||||
- zip windows-builds.zip *.exe || true
|
- echo "=== Total size ==="
|
||||||
|
- du -sh dist-electron/
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- pwa/dist-electron/windows-builds.zip
|
- pwa/dist-electron/*.exe
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
name: "windows-installer-$CI_COMMIT_TAG"
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG'
|
- if: '$CI_COMMIT_TAG'
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
11245
pwa/package-lock.json
generated
Normal file
11245
pwa/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user