Skip to content

Commit c0f335f

Browse files
committed
[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 <vrubezhny@redhat.com>
1 parent ca5bb06 commit c0f335f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/circular-dependency-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- uses: actions/checkout@v4
1717

1818
# Set up Node
19-
- name: Use Node.js 18
19+
- name: Use Node.js 20
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 18.17
22+
node-version: 20
2323

2424
# Run install dependencies
2525
- name: Install dependencies

0 commit comments

Comments
 (0)