Skip to content

Commit

Permalink
Update to node22 (#6440)
Browse files Browse the repository at this point in the history
* update to node22

Signed-off-by: Amndeep Singh Mann <[email protected]>

* netlify

Signed-off-by: Amndeep Singh Mann <[email protected]>

* different error output msg

Signed-off-by: Amndeep Singh Mann <[email protected]>

---------

Signed-off-by: Amndeep Singh Mann <[email protected]>
  • Loading branch information
Amndeep7 authored Dec 3, 2024
1 parent 622c4f2 commit 2264cac
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hdfconverter-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/inspecjs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: actions/setup-node@v4
if: always()
with:
node-version: "18"
node-version: "22"
check-latest: true
registry-url: 'https://npm.pkg.github.com'
cache: 'yarn'
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
22
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_CONTAINER=registry.access.redhat.com/ubi8/nodejs-18-minimal:1
ARG BASE_CONTAINER=registry.access.redhat.com/ubi9/nodejs-22-minimal:1

FROM $BASE_CONTAINER AS builder

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.lite
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_CONTAINER=registry.access.redhat.com/ubi8/nodejs-18-minimal:1
ARG BUILD_CONTAINER=registry.access.redhat.com/ubi9/nodejs-22-minimal:1
ARG BASE_CONTAINER=nginx:alpine

FROM $BUILD_CONTAINER AS builder
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/config/config.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('Config Service', () => {
})
});
expect(() => new ConfigService()).toThrowError(
"EACCES: permission denied, open '.env'"
"EACCES, permission denied '.env'"
);
});

Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"prismjs": "1.29.0"
},
"engines": {
"node": "^18.19.0"
"node": ">=22"
},
"branch": "/blob/master/",
"changelog": "/releases",
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
- "5432"

certs:
image: registry.access.redhat.com/ubi8/ubi:latest
image: registry.access.redhat.com/ubi9/ubi:latest
restart: unless-stopped
command: sh -c "sh /etc/pki/ca-trust/source/anchors/dodcerts.sh && update-ca-trust && tail -f /dev/null"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dotenv-cli": "^7.0.0"
},
"engines": {
"node": "^18.19.0"
"node": ">=22"
},
"version": "0.0.0"
}
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==

"@achrinza/node-ipc@^9.2.5":
version "9.2.8"
resolved "https://registry.npmjs.org/@achrinza/node-ipc/-/node-ipc-9.2.8.tgz#aabfe9fe84406c90bfb7319d5e68b5b517dd8686"
integrity sha512-DSzEEkbMYbAUVlhy7fg+BzccoRuSQzqHbIPGxGv19OJ2WKwS3/9ChAnQcII4g+GujcHhyJ8BUuOVAx/S5uAfQg==
version "9.2.9"
resolved "https://registry.npmjs.org/@achrinza/node-ipc/-/node-ipc-9.2.9.tgz#ab4815d9b16f1c83a479fe8791522a3abebb1c6a"
integrity sha512-7s0VcTwiK/0tNOVdSX9FWMeFdOEcsAOz9HesBldXxFMaGvIak7KC2z9tV9EgsQXn6KUsWsfIkViMNuIo0GoZDQ==
dependencies:
"@node-ipc/js-queue" "2.0.3"
event-pubsub "4.3.0"
Expand Down

0 comments on commit 2264cac

Please sign in to comment.