From 193a6d27db3afe353a4480c469bd8c1f7eea9067 Mon Sep 17 00:00:00 2001 From: Victor Rubezhny Date: Tue, 1 Apr 2025 13:05:25 +0200 Subject: [PATCH] [tests] Use Node.js v20 for cycle dependencies check Node.js is to be updated at least to v20 due to the fact that a lot of dependencies claim Node.js v18 engine as "unsupported": ``` npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@eslint/config-array@0.19.2', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@eslint/config-helpers@0.2.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@eslint/core@0.12.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@eslint/eslintrc@3.3.1', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@eslint/js@9.23.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@eslint/object-schema@2.1.6', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@eslint/plugin-kit@0.2.7', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@humanfs/core@0.19.1', npm WARN EBADENGINE required: { node: '>=18.18.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@humanfs/node@0.16.6', npm WARN EBADENGINE required: { node: '>=18.18.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@humanwhocodes/retry@0.3.1', npm WARN EBADENGINE required: { node: '>=18.18' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@humanwhocodes/retry@0.4.2', npm WARN EBADENGINE required: { node: '>=18.18' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/eslint-plugin@8.29.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/parser@8.29.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/scope-manager@8.29.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/type-utils@8.29.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/types@8.29.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/typescript-estree@8.29.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/utils@8.29.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/visitor-keys@8.29.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'eslint-visitor-keys@4.2.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@vscode/vsce@3.2.1', npm WARN EBADENGINE required: { node: '>= 20' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'eslint@9.23.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'eslint-scope@8.3.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'eslint-visitor-keys@4.2.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'espree@10.3.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'eslint-visitor-keys@4.2.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'glob@11.0.1', npm WARN EBADENGINE required: { node: '20 || >=22' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'minimatch@10.0.1', npm WARN EBADENGINE required: { node: '20 || >=22' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jackspeak@4.0.1', npm WARN EBADENGINE required: { node: '20 || >=22' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'mocha@11.1.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'path-scurry@2.0.0', npm WARN EBADENGINE required: { node: '20 || >=22' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'lru-cache@11.0.0', npm WARN EBADENGINE required: { node: '20 || >=22' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'typescript-eslint@8.29.0', npm WARN EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'got@14.4.5', npm WARN EBADENGINE required: { node: '>=20' }, npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' } npm WARN EBADENGINE } ``` Signed-off-by: Victor Rubezhny --- .github/workflows/circular-dependency-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/circular-dependency-check.yml b/.github/workflows/circular-dependency-check.yml index a00e4bc32..de4f5fc49 100644 --- a/.github/workflows/circular-dependency-check.yml +++ b/.github/workflows/circular-dependency-check.yml @@ -16,10 +16,10 @@ jobs: - uses: actions/checkout@v4 # Set up Node - - name: Use Node.js 18 + - name: Use Node.js 20 uses: actions/setup-node@v4 with: - node-version: 18.17 + node-version: 20 # Run install dependencies - name: Install dependencies