From babd710d90d98b2eb187b47aa726041b95dfcf59 Mon Sep 17 00:00:00 2001 From: Pier-Jean Malandrino Date: Wed, 8 Apr 2026 14:54:56 +0200 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 3 +++ .github/workflows/docling-compat.yml | 3 +++ .github/workflows/docs.yml | 3 +++ .github/workflows/release.yml | 1 + frontend/eslint.config.js | 2 ++ 5 files changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c35c08..1591ce7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/docling-compat.yml b/.github/workflows/docling-compat.yml index 0d6f2ee..48558ba 100644 --- a/.github/workflows/docling-compat.yml +++ b/.github/workflows/docling-compat.yml @@ -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 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4410e73..b3afca1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,6 +16,9 @@ concurrency: group: docs cancel-in-progress: true +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: deploy: name: Build & deploy docs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b58235a..3aa8f30 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,7 @@ on: - "v*" env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index 8b4be65..012829c 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -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', },