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>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
e9690a49f9
commit
0e7b7092ae
@@ -12,7 +12,8 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- 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'
|
||||
- run: npm ci
|
||||
- run: npm run build:win
|
||||
- uses: actions/upload-artifact@v4
|
||||
@@ -26,7 +27,8 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- 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'
|
||||
- run: npm ci
|
||||
- run: npm run build:mac
|
||||
- uses: actions/upload-artifact@v4
|
||||
@@ -40,7 +42,8 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- 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'
|
||||
- run: npm ci
|
||||
- run: npm run build:linux
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user