Skip to content

Commit fbdb18d

Browse files
author
Thor011
committed
Fix: Update Node.js requirement to 20+ for Cucumber compatibility
- Updated GitHub Actions workflows to use Node.js 20.x and 22.x - Updated package.json engines requirement to >=20.0.0 - Updated README prerequisites to reflect Node.js 20+ requirement - Cucumber requires Node.js 20 || 22 || >=24
1 parent f1f6f34 commit fbdb18d

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/api-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: '18'
22+
node-version: '20'
2323
cache: 'npm'
2424

2525
- name: Install dependencies

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node-version: [18.x, 20.x]
17+
node-version: [20.x, 22.x]
1818

1919
steps:
2020
- uses: actions/checkout@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ api-tests/
6363
## Quick Start
6464

6565
### Prerequisites
66-
- Node.js (v16 or higher)
66+
- Node.js 20.x or higher (required for Cucumber)
6767
- npm or yarn
6868

6969
### Setup

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"author": "",
2929
"license": "MIT",
3030
"engines": {
31-
"node": ">=18.0.0",
31+
"node": ">=20.0.0",
3232
"npm": ">=9.0.0"
3333
},
3434
"devDependencies": {

0 commit comments

Comments
 (0)