fix: resolve CI warnings (Node.js 20 deprecation + ESLint formatting)

Force Node.js 24 in all GitHub Actions workflows to suppress the
upcoming Node.js 20 deprecation warnings. Disable vue/html-indent and
vue/html-closing-bracket-newline ESLint rules that conflict with
Prettier formatting.

Closes #122
This commit is contained in:
Pier-Jean Malandrino 2026-04-08 14:54:56 +02:00
parent 145d4bc180
commit babd710d90
5 changed files with 12 additions and 0 deletions

View file

@ -11,6 +11,9 @@ concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
backend:
name: Backend tests

View file

@ -9,6 +9,9 @@ on:
- cron: "30 6 * * *" # Every day at 06:30 UTC
workflow_dispatch: # Manual trigger from GitHub UI
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
compat:
name: Test against latest Docling

View file

@ -16,6 +16,9 @@ concurrency:
group: docs
cancel-in-progress: true
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
deploy:
name: Build & deploy docs

View file

@ -6,6 +6,7 @@ on:
- "v*"
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

View file

@ -28,6 +28,8 @@ export default [
'vue/max-attributes-per-line': 'off',
'vue/singleline-html-element-content-newline': 'off',
'vue/html-closing-bracket-spacing': 'off',
'vue/html-closing-bracket-newline': 'off',
'vue/html-indent': 'off',
'vue/html-self-closing': 'off',
'vue/attributes-order': 'off',
},