Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/firebase-live.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22.14.0'
cache: 'pnpm'

- run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22.14.0'
cache: 'pnpm'

- run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/refresh-index-chains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22.14.0'
cache: 'pnpm'

- run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ information about getting started and making a contribution to the API3 Docs.

### Pre-requisites

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

### Installation
Expand Down
9 changes: 3 additions & 6 deletions docs/dev/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@ tags:

# {{$frontmatter.title}}

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

::: info Nodejs `v20`
::: info Nodejs `v22`

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

:::

Expand Down
7 changes: 2 additions & 5 deletions docs/dev/rosetta.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ wrong [esbuild](https://esbuild.github.io/getting-started/) package. It is best
to use a version of Nodejs and NPM installed with its installer or install it
using your CLI with Rosetta deactivated.

::: info Nodejs `v20`
::: info Nodejs `v22`

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

:::

Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"engines": {
"node": "20"
},
"packageManager": "pnpm@9.15.2",
"scripts": {
"sync:VPFlyout": "cp docs/_components/vitepress/VPFlyout.vue node_modules/vitepress/dist/client/theme-default/components/VPFlyout.vue",
Expand Down