From c3985fa1e323a3e2f2ec33549bd1811450044039 Mon Sep 17 00:00:00 2001 From: liby Date: Tue, 21 Apr 2026 23:23:47 +0800 Subject: [PATCH] fix: bump Node to 22 for logseq nightly engines requirement logseq@0.0.1 (frontend) now requires node >=22.20.0 in its package.json engines, which breaks publish-spa on Node 20: error logseq@0.0.1: The engine "node" is incompatible with this module. Expected version ">=22.20.0". Got "20.20.2" nbb-logseq 1.2.173 already supports >=20.10.0 so bumping to 22 is safe. Pinned explicitly to '22' instead of 'lts/*' to avoid unintended rolls when the next LTS ships. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 8d312bf..9105dfc 100644 --- a/action.yml +++ b/action.yml @@ -49,7 +49,7 @@ runs: - name: Set up Node uses: actions/setup-node@v5 with: - node-version: '20' + node-version: '22' cache: 'yarn' cache-dependency-path: .logseq-publish-spa/yarn.lock