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:
parent
145d4bc180
commit
babd710d90
5 changed files with 12 additions and 0 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -11,6 +11,9 @@ concurrency:
|
||||||
group: ci-${{ github.ref }}
|
group: ci-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
backend:
|
backend:
|
||||||
name: Backend tests
|
name: Backend tests
|
||||||
|
|
|
||||||
3
.github/workflows/docling-compat.yml
vendored
3
.github/workflows/docling-compat.yml
vendored
|
|
@ -9,6 +9,9 @@ on:
|
||||||
- cron: "30 6 * * *" # Every day at 06:30 UTC
|
- cron: "30 6 * * *" # Every day at 06:30 UTC
|
||||||
workflow_dispatch: # Manual trigger from GitHub UI
|
workflow_dispatch: # Manual trigger from GitHub UI
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
compat:
|
compat:
|
||||||
name: Test against latest Docling
|
name: Test against latest Docling
|
||||||
|
|
|
||||||
3
.github/workflows/docs.yml
vendored
3
.github/workflows/docs.yml
vendored
|
|
@ -16,6 +16,9 @@ concurrency:
|
||||||
group: docs
|
group: docs
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
name: Build & deploy docs
|
name: Build & deploy docs
|
||||||
|
|
|
||||||
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
|
@ -6,6 +6,7 @@ on:
|
||||||
- "v*"
|
- "v*"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,8 @@ export default [
|
||||||
'vue/max-attributes-per-line': 'off',
|
'vue/max-attributes-per-line': 'off',
|
||||||
'vue/singleline-html-element-content-newline': 'off',
|
'vue/singleline-html-element-content-newline': 'off',
|
||||||
'vue/html-closing-bracket-spacing': 'off',
|
'vue/html-closing-bracket-spacing': 'off',
|
||||||
|
'vue/html-closing-bracket-newline': 'off',
|
||||||
|
'vue/html-indent': 'off',
|
||||||
'vue/html-self-closing': 'off',
|
'vue/html-self-closing': 'off',
|
||||||
'vue/attributes-order': 'off',
|
'vue/attributes-order': 'off',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue