Skip to content

Build your personal knowledge base with Trilium Notes

ci: bump to node v22 -> fixes EBADENGINE warning

Panagiotis Papadopoulosb97c28bc135b
diff --git a/.github/actions/build-server/action.yml b/.github/actions/build-server/action.yml
index 7423b8c4a1..d296838a29 100644
--- a/.github/actions/build-server/action.yml
+++ b/.github/actions/build-server/action.yml
@@ -11,7 +11,7 @@ runs:
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "npm"
- name: Install dependencies
shell: bash
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 18ff8190b1..e7bff39e96 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -26,7 +26,7 @@ jobs:
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "npm"
- run: npm ci
diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml
index 085ae836e4..25277d30a7 100644
--- a/.github/workflows/main-docker.yml
+++ b/.github/workflows/main-docker.yml
@@ -45,7 +45,7 @@ jobs:
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "npm"
- name: Install npm dependencies
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index f63c9f5789..95204f1d34 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -39,7 +39,7 @@ jobs:
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
- name: Install dependencies
run: npm ci
- name: Update nightly version
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4f791bda00..b3f334ec84 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -36,7 +36,7 @@ jobs:
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
- name: Run the build
uses: ./.github/actions/build-electron
with: