fix(ci): bump Node to 22 for node:sqlite, move SonarQube off the deploy pipeline
CI / quality (push) Failing after 9m2s
CI / quality (pull_request) Failing after 7m31s

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>
This commit is contained in:
william
2026-10-31 09:43:43 +01:00
co-authored by Claude Sonnet 5
parent e9690a49f9
commit 0e7b7092ae
6 changed files with 93 additions and 30 deletions
+2 -8
View File
@@ -15,7 +15,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
# node:sqlite (coachStore.ts, memory/store.ts, meetingStore.ts) exige Node >= 22.5.
node-version: '22'
cache: 'npm'
- name: Install dependencies
@@ -32,10 +33,3 @@ jobs:
- name: Security audit
run: npm audit --audit-level=high
- name: SonarQube analysis
if: ${{ secrets.SONAR_TOKEN != '' }}
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}