Files
ForgeBase/electron-builder.yml
T
williamandClaude Sonnet 5 0e7b7092ae
CI / quality (push) Failing after 9m2s
CI / quality (pull_request) Failing after 7m31s
fix(ci): bump Node to 22 for node:sqlite, move SonarQube off the deploy pipeline
node:sqlite (used by coachStore.ts, memory/store.ts, meetingStore.ts) requires
Node >= 22.5. CI/release workflows were pinned to Node 20, breaking test
collection entirely (0% coverage, 63 errors). Also adds engines.node to
package.json to catch this earlier elsewhere.

SonarQube analysis moved out of ci.yml into its own cron-triggered workflow
(sonarqube.yml, daily + manual dispatch) so a failed scan or quality gate
never blocks CI or releases. The SonarQube server is already running on the
VPS (sonar.forgebase.fr), so docker-compose.sonar.yml is no longer needed to
deploy it.

Also documents the forgebase.fr/releases/ Caddy setup for electron-updater.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-31 09:43:43 +01:00

54 lines
1.7 KiB
YAML

appId: com.vandal.max
productName: Max
copyright: Copyright © 2026 Vandal William
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!src/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
asarUnpack:
- resources/**
win:
executableName: Max
target:
- target: nsis
arch: [x64]
publisherName: Vandal William
nsis:
artifactName: ${productName}-Setup-${version}.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
oneClick: false
allowToChangeInstallationDirectory: true
createStartMenuShortcut: true
mac:
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
dmg:
artifactName: ${name}-${version}.${ext}
linux:
target:
- AppImage
- snap
- deb
maintainer: electronjs.org
category: Utility
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false
publish:
provider: generic
# Sert via Caddy (conteneur max-releases, reverse_proxy forgebase.fr/releases/*) sur le VPS
# Hostinger : dossier statique recevant latest.yml/latest-mac.yml/latest-linux.yml + installeurs.
url: https://forgebase.fr/releases/