Skip to content

Commit da2d07c

Browse files
committed
feat: update node version to 22
1 parent 5a84d5f commit da2d07c

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
matrix:
3333
# Set the same version as in Dockerfile
34-
node: [18]
34+
node: [22]
3535
steps:
3636
- name: Checkout
3737
uses: actions/checkout@v4

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
matrix:
2929
# Set the same version as in Dockerfile
30-
node: [18]
30+
node: [22]
3131
permissions:
3232
contents: read
3333
deployments: write

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
# Run for both the node version used and the next major version
10-
node: [18, 20, 22]
10+
node: [22, 24]
1111
steps:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The project utilises `vitepress` in order to create pages for our documentation,
6464

6565
## Dependencies
6666

67-
1. Install [Node v18+](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) (or later). You can use [nvm](https://github.com/nvm-sh/nvm) to easily update Node.
67+
1. Install [Node v22+](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) (or later). You can use [nvm](https://github.com/nvm-sh/nvm) to easily update Node.
6868

6969
- `node --version` should show at least `v18.19.0`. Lower versions have not been tested but may also work.
7070
- `npm --version` should show at least `10.2.3`. Lower versions have not been tested but may also work.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG deploy_base_image="nginx:1.27.0-alpine"
2-
ARG build_base_image="node:18.19.0-alpine3.19"
2+
ARG build_base_image="node:22.22.1-alpine3.22"
33

44
# Use an intermediary image to do our builds, removing coupling from the machine executing commands and allowing us to
55
# trim the fat.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"lint-markdown:fix": "npx markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#.github\" --fix"
2828
},
2929
"engines": {
30-
"node": ">=18.0.0",
31-
"npm": ">=7.0.0"
30+
"node": ">=22.0.0",
31+
"npm": ">=10.0.0"
3232
},
3333
"overrides": {
3434
"react": "^19.2.4",

0 commit comments

Comments
 (0)