fix(ci): bump Node to 22 for node:sqlite, move SonarQube off the deploy pipeline #1

Merged
w-vandal merged 10 commits from develop into main 2026-10-31 20:52:07 +00:00
224 changed files with 135 additions and 18 deletions
Showing only changes of commit 1c2f002eb3 - Show all commits
+6
View File
@@ -10,6 +10,11 @@ on:
jobs:
quality:
runs-on: ubuntu-latest
# Le code de l'app vit dans le sous-dossier "Max Avatar" (la racine du depot garde CLAUDE.md,
# README.md, docs/, .gitea/, .husky/, .vscode/, .claude/, docker-compose*.yml).
defaults:
run:
working-directory: Max Avatar
steps:
- uses: actions/checkout@v4
@@ -22,6 +27,7 @@ jobs:
# la transformation plante avec "Cannot bundle Node.js built-in node:sqlite".
node-version: '24'
cache: 'npm'
cache-dependency-path: 'Max Avatar/package-lock.json'
- name: Install dependencies
run: npm ci --ignore-scripts
+12 -3
View File
@@ -8,6 +8,9 @@ on:
jobs:
build-windows:
runs-on: windows-latest
defaults:
run:
working-directory: Max Avatar
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
@@ -19,10 +22,13 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: max-windows
path: dist/*.exe
path: Max Avatar/dist/*.exe
build-mac:
runs-on: macos-latest
defaults:
run:
working-directory: Max Avatar
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
@@ -34,10 +40,13 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: max-mac
path: dist/*.dmg
path: Max Avatar/dist/*.dmg
build-linux:
runs-on: ubuntu-latest
defaults:
run:
working-directory: Max Avatar
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
@@ -49,4 +58,4 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: max-linux
path: dist/*.AppImage
path: Max Avatar/dist/*.AppImage
+6
View File
@@ -11,6 +11,9 @@ jobs:
sonarqube:
runs-on: ubuntu-latest
if: ${{ secrets.SONAR_TOKEN != '' }}
defaults:
run:
working-directory: Max Avatar
steps:
- uses: actions/checkout@v4
with:
@@ -21,6 +24,7 @@ jobs:
with:
node-version: '24'
cache: 'npm'
cache-dependency-path: 'Max Avatar/package-lock.json'
- name: Install dependencies
run: npm ci --ignore-scripts
@@ -30,6 +34,8 @@ jobs:
- name: SonarQube analysis
uses: sonarsource/sonarqube-scan-action@master
with:
projectBaseDir: Max Avatar
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
+1 -8
View File
@@ -1,12 +1,5 @@
node_modules
dist
out
.DS_Store
.eslintcache
*.log*
.env
.env.local
coverage
playwright-report
test-results
.husky/_
.DS_Store
+1 -1
View File
@@ -1 +1 @@
npx lint-staged
cd "Max Avatar" && npx lint-staged
+4 -4
View File
@@ -5,10 +5,10 @@
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite",
"cwd": "${workspaceRoot}/Max Avatar",
"runtimeExecutable": "${workspaceRoot}/Max Avatar/node_modules/.bin/electron-vite",
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite.cmd"
"runtimeExecutable": "${workspaceRoot}/Max Avatar/node_modules/.bin/electron-vite.cmd"
},
"runtimeArgs": ["--sourcemap"],
"env": {
@@ -20,7 +20,7 @@
"port": 9222,
"request": "attach",
"type": "chrome",
"webRoot": "${workspaceFolder}/src/renderer",
"webRoot": "${workspaceFolder}/Max Avatar/src/renderer",
"timeout": 60000,
"presentation": {
"hidden": true
+12
View File
@@ -0,0 +1,12 @@
node_modules
dist
out
.DS_Store
.eslintcache
*.log*
.env
.env.local
coverage
playwright-report
test-results
.husky/_
+3 -1
View File
@@ -1,4 +1,6 @@
FROM node:20-alpine AS base
# node:sqlite (coachStore.ts, memory/store.ts, meetingStore.ts) exige Node >= 22.5, mais
# Vite/Rolldown ne le reconnaissent comme built-in qu'a partir de Node 24.
FROM node:24-alpine AS base
WORKDIR /app
COPY package*.json ./
RUN npm ci --ignore-scripts

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 121 KiB

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Some files were not shown because too many files have changed in this diff Show More