Repository navigation
fix: restore node@20 support - #225
Merged
Merged
Conversation
nikku
marked this pull request as ready for review
November 12, 2026 09:11
There was a problem hiding this comment.
🟡 Changes recommended
The declared Node support includes 20.0–20.11, but bpmn-moddle@10.1.0 requires Node >=20.12, causing engine-strict installs to fail within the advertised range.
1 open issue
What changed in this PR
This PR restores declared Node 20 support and CI coverage for bpmnlint while keeping Node 24 as the standard runtime.
Changes:
- Lowers the declared Node engine minimum from 24 to 20.
- Updates
@bpmn-io/lint-coreto the Node 20-compatible^0.1.1release. - Adds Node 20 checks alongside existing Node 24 and Node 26 coverage.
| File | Description |
|---|---|
package.json |
Updates the Node engine range and lint-core dependency requirement. |
package-lock.json |
Synchronizes engine metadata and locks lint-core to version 0.1.1. |
.github/workflows/CI.yml |
Adds Node 20 to the compatibility test matrix. |
Review effort: Balanced
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
nikku
force-pushed
the
nikku-bpmnlint-node-20-support
branch
from
November 12, 2026 09:15
131d259 to
cfc8313
Compare
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Proposed Changes
Patch for 12.x: restore node@20 support, reverting the Node 24 requirement introduced in 12.0.0. Continue with 12.x and retain the existing
exportsdeclaration.Require
@bpmn-io/lint-core@^0.1.1, which supports Node 20 following bpmn-io/lint-core#2. Add Node 20 CI coverage, keep Node 24 as the standard runtime, and retain Node 26 and platform coverage. The changelog records the compatibility fix and dependency update.The full suite passes on Node 20.20 and Node 24, and an engine-strict production install of the packed package succeeds on Node 20.20. The existing lockfile's
bpmn-moddle@10.1.0requires Node >=20.12; several development dependencies require newer Node versions, so this does not promise engine-strict development installs on Node 20 or support for every Node 20 minor.To try it out, use Node 20 or Node 24 and run
npm ci && npm run all. No linked issue or UI changes apply.Checklist
Ensure you provide everything we need to review your contribution:
Closes {LINK_TO_ISSUE}orRelated to {LINK_TO_ISSUE}@bpmn-io/srtool