Skip to content

Commit 7433752

Browse files
feat(all-services): remove node js 20 support
remove node js 20 support BREAKING CHANGE: yes GH-122
1 parent 747a1e2 commit 7433752

13 files changed

Lines changed: 3677 additions & 6240 deletions

File tree

.github/workflows/main.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414

1515
strategy:
1616
# The strategy matrix allows running tests across multiple Node.js versions in parallel.
17-
# Here, the workflow will execute the same steps for Node.js versions 20, 22, and 24.
17+
# Here, the workflow will execute the same steps for Node.js versions 22 and 24.
1818
matrix:
19-
node-version: [20, 22, 24]
19+
node-version: [22, 24]
2020

2121
steps:
2222
# Step 1: Checkout the repository code from GitHub
2323
- uses: actions/checkout@v3
2424

25-
# Step 2: Set up the Node.js version based on the current matrix value (20, 22, or 24)
25+
# Step 2: Set up the Node.js version based on the current matrix value (22 or 24)
2626
- uses: actions/setup-node@v3
2727
with:
2828
node-version: ${{ matrix.node-version }}
@@ -50,4 +50,4 @@ jobs:
5050
steps:
5151
# Step 1: Print final success message after all Node.js version tests pass
5252
- name: Final status
53-
run: echo "✅ All tests passed for Node.js 20, 22, and 24"
53+
run: echo "✅ All tests passed for Node.js 22 and 24"

.github/workflows/trivy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v3
2323

2424
- name: Run Trivy vulnerability scanner in repo mode
25-
uses: aquasecurity/trivy-action@0.28.0
25+
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
2626
with:
2727
scan-type: "fs"
2828
scan-ref: "${{ github.workspace }}"

package-lock.json

Lines changed: 2989 additions & 3992 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@
2828
],
2929
"overrides": {
3030
"semver": "^7.5.2",
31-
"qs": "^6.14.1"
31+
"qs": "^6.14.1",
32+
"form-data":"4.0.4",
33+
"underscore":"1.13.8",
34+
"undici":"7.24.0"
3235
},
3336
"config": {
3437
"commitizen": {

packages/custom-sf-changelog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"author": "Akshat Dubey",
2424
"engines": {
25-
"node": "18 || 20"
25+
"node": "22 || 24"
2626
},
2727
"license": "ISC",
2828
"dependencies": {

services/orchestrator-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"main": "dist/index.js",
1919
"types": "dist/index.d.ts",
2020
"engines": {
21-
"node": ">=20"
21+
"node": "22 || 24"
2222
},
2323
"scripts": {
2424
"build": "lb-tsc && npm run openapi-spec && npm run apidocs",

services/orchestrator-service/src/application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {BootMixin} from '@loopback/boot';
66
import {ApplicationConfig} from '@loopback/core';
77
import {RepositoryMixin} from '@loopback/repository';
88
import {RestApplication} from '@loopback/rest';
9-
import * as path from 'path';
9+
import * as path from 'node:path';
1010
import {OrchestratorServiceComponent} from './component';
1111

1212
export {ApplicationConfig};

0 commit comments

Comments
 (0)