From 5ebea6b0d6c8360893887d642d8af30af719cd74 Mon Sep 17 00:00:00 2001 From: Dennis Date: Sat, 7 Mar 2026 01:15:13 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20resolve=20CI=20failures=20=E2=80=94=20No?= =?UTF-8?q?de=2020+,=20exclude=20scanner-worker=20from=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update GitHub Actions workflows to Node 20/22 (ESLint 10 requires Node 20+) - Exclude scanner-worker/ from frontend tsconfig and .dockerignore - Update engines to require Node >= 20 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/backend.yml | 2 +- .github/workflows/frontend.yml | 2 +- frontend/.dockerignore | 1 + frontend/tsconfig.json | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index baeb551..2576512 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18, 20] + node-version: [20, 22] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 8d3c8e0..9beacf0 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18, 20] + node-version: [20, 22] steps: - uses: actions/checkout@v4 diff --git a/frontend/.dockerignore b/frontend/.dockerignore index cab67ef..7af696f 100644 --- a/frontend/.dockerignore +++ b/frontend/.dockerignore @@ -2,3 +2,4 @@ node_modules npm-debug.log .env .git +scanner-worker diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index e59724b..88a6854 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -23,5 +23,5 @@ } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "scanner-worker"] } diff --git a/package.json b/package.json index cd78392..500216f 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,6 @@ "husky": "^9.1.0" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }