Skip to content

Commit 272fd13

Browse files
authored
fix: bump nodejs version (#640)
1 parent 5719621 commit 272fd13

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/pr-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v1
1414
- uses: actions/setup-node@v1
1515
with:
16-
node-version: '18.x'
16+
node-version: "22.x"
1717
- name: Test build
1818
env:
1919
TARGET_URL: "https://docs.flashbots.net"

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18
1+
v22

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern
44

55
## Installation
66

7-
Use Node.js v18+
7+
Use Node.js v22.18+
88

99
Note: if you want to install the node packages from within a Docker container (recommended for security), then you can start it like this:
1010

1111
```bash
12-
docker run -p 3000:3000 --rm -it -w /mnt -v $(pwd):/mnt node:18 /bin/bash
12+
docker run -p 3000:3000 --rm -it -w /mnt -v $(pwd):/mnt node:22.18.0 /bin/bash
1313
```
1414

1515
First create a copy of the environment file `.env.template` in the root of the codebase and rename it to `.env`

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ module.exports = async function createConfigAsync() {
100100
}),
101101
],
102102
],
103-
plugins: [
103+
plugins: [
104104
// eslint-disable-next-line @typescript-eslint/no-unused-vars
105105
async function tailwindcssSupport(context, options) {
106106
return {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@
101101
"typescript": "^5.2.2"
102102
},
103103
"engines": {
104-
"node": ">=18.0"
104+
"node": ">=22.18.0"
105105
}
106106
}

0 commit comments

Comments
 (0)