Skip to content

Commit b0ecd0e

Browse files
committed
switch to node 22
1 parent 85afee8 commit b0ecd0e

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: set up node.js
4040
uses: actions/setup-node@v3
4141
with:
42-
node-version: 18
42+
node-version: 22
4343
- name: checkout
4444
uses: actions/checkout@v3
4545
- name: build and test

.github/workflows/push_image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- name: set up node.js
7575
uses: actions/setup-node@v3
7676
with:
77-
node-version: 18
77+
node-version: 22
7878
- name: checkout
7979
uses: actions/checkout@v3
8080
- name: Test

Dockerfile.downstream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG BUILDVERSION
22

3-
FROM registry.access.redhat.com/ubi9/nodejs-18:9.6-1749709214 as web-builder
3+
FROM registry.access.redhat.com/ubi9/nodejs-22:9.6 as web-builder
44

55
WORKDIR /opt/app-root
66

web/jest.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ const config: Config = {
1010
],
1111
maxWorkers: 1,
1212
globals: {
13-
"ts-jest": {
14-
"isolatedModules": true
15-
}
1613
},
1714
setupFiles: [
1815
"<rootDir>/enzyme.config.ts"

web/src/i18n.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33

44
// t('plugin__netobserv-plugin~Network Traffic')
55
// t('plugin__netobserv-plugin~Observe')
6+
7+
export {};

web/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"noImplicitAny": true,
1818
"noUnusedLocals": true,
1919
"skipLibCheck": true,
20-
"strictNullChecks": true
20+
"strictNullChecks": true,
21+
"isolatedModules": true
2122
},
2223
"include": [
2324
"src"

0 commit comments

Comments
 (0)