Skip to content

Commit

Permalink
chore: bump node to latest LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashroch committed Jan 4, 2025
1 parent 532ff6e commit fb060a8
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- name: Repository checkout
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]
postgres-version: [15]
redis-version: [7]

Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:

# strategy:
# matrix:
# node-version: [20.x]
# node-version: [22.x]
# mariadb-version: [10]
# redis-version: [7]

Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:

# strategy:
# matrix:
# node-version: [20.x]
# node-version: [22.x]
# mssql-version: [2019]
# redis-version: [7]

Expand Down Expand Up @@ -316,7 +316,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- name: Repository checkout
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- name: Repository checkout
Expand Down Expand Up @@ -384,7 +384,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- name: Repository checkout
Expand Down Expand Up @@ -424,7 +424,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- name: Repository checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: pnpm

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<img src="https://img.shields.io/github/package-json/version/MRC-Epid-it24/intake24/master?label=release&color=EE672D" alt="release">
</a>
<a href="https://nodejs.org/en/about/releases">
<img src="https://img.shields.io/badge/node-%3E%3D%2018.17.0-success" alt="node compatibility">
<img src="https://img.shields.io/badge/node-%3E%3D%2022.12.0-success" alt="node compatibility">
</a>
<a href='https://github.com/MRC-Epid-it24/intake24/actions' target="__blank">
<img src='https://github.com/MRC-Epid-it24/intake24/workflows/CI/badge.svg' alt="Build Status">
Expand Down
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"main": "src/index.ts",
"engines": {
"node": ">=18.17.0"
"node": ">=22.12.0"
},
"scripts": {
"postinstall": "pnpm tsx scripts/clean-puppeteer-cache.ts",
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"main": "src/index.ts",
"engines": {
"node": ">=18.17.0"
"node": ">=22.12.0"
},
"scripts": {
"build": "pnpm build:clean && webpack --env NODE_ENV=production",
Expand Down
2 changes: 1 addition & 1 deletion deployment/ansible/roles/deps-nodejs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

- name: Add Node.js repository
apt_repository:
repo: 'deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main'
repo: 'deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main'
state: present
filename: nodesource
mode: '644'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"Dietary recall system"
],
"engines": {
"node": ">=18.17.0"
"node": ">=22.12.0"
},
"scripts": {
"prepare": "pnpm simple-git-hooks",
Expand Down
2 changes: 1 addition & 1 deletion packages/common-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"main": "src/index.ts",
"engines": {
"node": ">=18.17.0"
"node": ">=22.12.0"
},
"scripts": {
"test:unit": "jest",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"main": "src/index.ts",
"engines": {
"node": ">=18.17.0"
"node": ">=22.12.0"
},
"scripts": {
"svgo": "svgo -f ./src/theme/assets -o ./src/theme/assets",
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"main": "src/index.ts",
"engines": {
"node": ">=18.17.0"
"node": ">=22.12.0"
},
"scripts": {
"db:foods:migrate": "pnpm sequelize db:migrate --options-path sequelize/foods/options.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"main": "src/index.ts",
"engines": {
"node": ">=18.17.0"
"node": ">=22.12.0"
},
"scripts": {
"i18n:sync": "pnpm tsx scripts/i18n-sync.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"directory": "packages/ui"
},
"engines": {
"node": ">=18.17.0"
"node": ">=22.12.0"
},
"scripts": {},
"dependencies": {
Expand Down

0 comments on commit fb060a8

Please sign in to comment.