-
-
Notifications
You must be signed in to change notification settings - Fork 229
Description
Describe the bug.
The release workflow Publish to any of NPM, Github, and Docker Hub is currently failing because the project still declares Node 18 as the required version via:
.nvmrc = v18"engines": { "node": ">=18" }inpackage.json
As a result, the release job runs on Node v18.20.8, but some dependencies (for example yargs-parser@22) now require a minimum Node.js version of 20.
This causes the release step to fail with the following error:
yargs parser supports a minimum Node.js version of 20
current: { node: 'v18.20.8' }
The failure happens consistently in the release job after merge.
Expected behavior
The release workflow should resolve and run on Node.js >= 20, so that it is compatible with current dependencies and the job completes successfully without engine/version errors.
Screenshots
The release job fails on Node v18.20.8 while yargs-parser requires Node >= 20, as shown below.

How to Reproduce
-
Clone the repository:
git clone [https://github.com/asyncapi/modelina.git](https://github.com/asyncapi/modelina.git) cd modelina -
Trigger the release workflow:
Push or merge a commit to themasterbranch that meets the conventional commit criteria (e.g., a message starting withfix:orfeat:). -
Navigate to GitHub Actions:
Open the workflow run specifically for:- Workflow:
Release(Node project) - Job:
Publish to any of NPM, Github, and Docker Hub
- Workflow:
🖥️ Device Information [optional]
- Operating System (OS): macOS
- Browser: N/A
- Browser Version: N/A
👀 Have you checked for similar open issues?
- I checked and didn't find similar issue
🏢 Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to work on this issue ?
Yes I am willing to submit a PR!