Skip to content

Commit 1c12ac7

Browse files
committed
Remove node 18 and 20
1 parent 1142656 commit 1c12ac7

File tree

7 files changed

+12
-15
lines changed

7 files changed

+12
-15
lines changed

.github/workflows/mcp-security-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: Setup Node.js
6666
uses: actions/setup-node@v4
6767
with:
68-
node-version: "20.x"
68+
node-version: "22.x"
6969
cache: "npm"
7070

7171
- name: Install Node.js dependencies

.github/workflows/node.js.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,18 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515

16-
strategy:
17-
matrix:
18-
node-version: [18.x, 20.x, 22.x]
19-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
20-
2116
steps:
2217
- uses: actions/checkout@v4
23-
- name: Use Node.js ${{ matrix.node-version }}
18+
- name: Use Node.js 22.x
2419
uses: actions/setup-node@v4
2520
with:
26-
node-version: ${{ matrix.node-version }}
21+
node-version: "22.x"
2722
cache: "npm"
2823
- run: npm ci --include=dev
2924
- run: npm run build --if-present
3025
- run: npm run test:coverage
3126
- name: Vitest Coverage Report
3227
uses: davelosert/vitest-coverage-report-action@v2.8.3
33-
if: matrix.node-version == '20.x'
3428

3529
audit:
3630
runs-on: ubuntu-latest

.github/workflows/rapidast.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: "20.x"
23+
node-version: "22.x"
2424
cache: "npm"
2525

2626
- name: Install dependencies

.github/workflows/simulate-test.yml

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

18-
- name: Use Node.js 20.x
18+
- name: Use Node.js 22.x
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: "20.x"
21+
node-version: "22.x"
2222
cache: "npm"
2323

2424
- name: Install dependencies

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A Model Context Protocol (MCP) service that provides access to Ansible Automatio
44

55
## Prerequisites
66

7-
- Node.js 18 or higher
7+
- Node.js 22 or higher
88
- Access to an Ansible Automation Platform instance
99
- Valid AAP authentication token
1010

@@ -316,7 +316,7 @@ The configuration system follows a hierarchical approach:
316316

317317
5. **Missing dependencies**:
318318
- Run `npm install` to install required packages
319-
- Ensure Node.js version 18 or higher is installed
319+
- Ensure Node.js version 22 or higher is installed
320320

321321
### Configuration Validation
322322

docs/RAPIDAST.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Automated security scanning workflow that:
9393

9494
### Prerequisites
9595

96-
- Node.js 18.x or higher
96+
- Node.js 22.x or higher
9797
- Docker (for running RapiDAST container)
9898
- curl (for health checks)
9999

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"bin": {
88
"aap-mcp-server": "dist/index.js"
99
},
10+
"engines": {
11+
"node": ">=22.0.0"
12+
},
1013
"scripts": {
1114
"build": "tsc",
1215
"start": "node dist/index.js",

0 commit comments

Comments
 (0)