From d44fc586f38783a6e6d38fbb51fdec4116f35e98 Mon Sep 17 00:00:00 2001 From: wuyangfan <1102042793@qq.com> Date: Fri, 5 Jun 2026 17:32:52 +0800 Subject: [PATCH 1/2] fix: use nodejs 22 in nix flake --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 90ba68aef..64243939b 100644 --- a/flake.nix +++ b/flake.nix @@ -55,7 +55,7 @@ }; nativeBuildInputs = with pkgs; [ - nodejs_20 + nodejs_22 npmHooks.npmInstallHook pnpmConfigHook pnpm_9 @@ -97,7 +97,7 @@ { default = pkgs.mkShell { buildInputs = with pkgs; [ - nodejs_20 + nodejs_22 pnpm_9 ]; From 8494c88f80904b650d8eb74746df93038a3f859a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=9D=A8=E5=B8=86?= <39647285+leno23@users.noreply.github.com> Date: Mon, 8 Jun 2026 11:33:28 +0800 Subject: [PATCH 2/2] ci: use Node.js 22 in GitHub Actions --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd3e36014..6c13f2c66 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '22' cache: 'pnpm' - name: Install dependencies @@ -116,7 +116,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '22' cache: 'pnpm' - name: Print environment diagnostics @@ -155,7 +155,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '22' cache: 'pnpm' - name: Install dependencies @@ -277,7 +277,7 @@ jobs: if: steps.changed-changesets.outputs.has_changesets == 'true' uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '22' cache: 'pnpm' - name: Install dependencies