Skip to content

Commit 790599b

Browse files
renovate/node 22.x v2 (#877)
* chore(deps): update dependency node to v22 * fix: remove engines (node v20) from package.json * fix: update other node v20 references --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent bf3b358 commit 790599b

7 files changed

Lines changed: 9 additions & 18 deletions

File tree

.github/workflows/firebase-live.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: '20'
19+
node-version: '22.14.0'
2020
cache: 'pnpm'
2121

2222
- run: pnpm install

.github/workflows/firebase-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: '20'
19+
node-version: '22.14.0'
2020
cache: 'pnpm'
2121

2222
- run: pnpm install

.github/workflows/refresh-index-chains.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Node
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: '20'
25+
node-version: '22.14.0'
2626
cache: 'pnpm'
2727

2828
- run: pnpm install

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ information about getting started and making a contribution to the API3 Docs.
1313

1414
### Pre-requisites
1515

16-
- [Node.js](https://nodejs.org/en/) (version 20 or higher).
16+
- [Node.js](https://nodejs.org/en/) (version 22 or higher).
1717
- Unix/macOS/WSL for the scripts to work properly.
1818

1919
### Installation

docs/dev/index.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,13 @@ tags:
1212

1313
# {{$frontmatter.title}}
1414

15-
Use newer versions of Nodejs. Currently the builds on GitHub are using `v20`.
15+
Use newer versions of Nodejs. Currently the builds on GitHub are using `v22`.
1616
Mac users (Apple silicon) should see the page
1717
[Rosetta, Nodejs, esbuild](/dev/rosetta.md) if you get an error.
1818

19-
::: info Nodejs `v20`
19+
::: info Nodejs `v22`
2020

21-
It is best to use nodejs `v20` which gives the best performance and is the
22-
engine described in the
23-
[<span style="color:rgb(16, 185, 129);">package.json</span>](https://github.com/api3dao/airnode-docs/blob/main/package.json)
24-
file.
21+
It is best to use nodejs `v22` as this is what is used in GitHub Actions
2522

2623
:::
2724

docs/dev/rosetta.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@ wrong [esbuild](https://esbuild.github.io/getting-started/) package. It is best
2121
to use a version of Nodejs and NPM installed with its installer or install it
2222
using your CLI with Rosetta deactivated.
2323

24-
::: info Nodejs `v20`
24+
::: info Nodejs `v22`
2525

26-
It is best to use nodejs `v20` which gives the best performance and is the
27-
engine described in the
28-
[package.json](https://github.com/api3dao/airnode-docs/blob/main/package.json)
29-
file.
26+
It is best to use nodejs `v22` as this is what is used in GitHub Actions
3027

3128
:::
3229

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
"version": "1.0.0",
44
"main": "index.js",
55
"license": "MIT",
6-
"engines": {
7-
"node": "20"
8-
},
96
"packageManager": "pnpm@9.15.2",
107
"scripts": {
118
"sync:VPFlyout": "cp docs/_components/vitepress/VPFlyout.vue node_modules/vitepress/dist/client/theme-default/components/VPFlyout.vue",

0 commit comments

Comments
 (0)