From de1dfdacfe62b807eaca1c8395bef5faf3cf0a00 Mon Sep 17 00:00:00 2001 From: DragonnZhang <731557579@qq.com> Date: Mon, 8 Jun 2026 21:59:11 +0800 Subject: [PATCH] ci: use nvmrc for desktop release node --- .github/workflows/desktop-release.yml | 10 ++++++++++ .nvmrc | 1 + 2 files changed, 11 insertions(+) create mode 100644 .nvmrc diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml index 5e1c17ded..1316b2cd7 100644 --- a/.github/workflows/desktop-release.yml +++ b/.github/workflows/desktop-release.yml @@ -82,6 +82,11 @@ jobs: with: fetch-depth: 0 + - name: Set up Node + uses: actions/setup-node@v6 + with: + node-version-file: '.nvmrc' + - name: Set up Bun uses: oven-sh/setup-bun@v2 with: @@ -179,6 +184,11 @@ jobs: with: ref: ${{ needs.release_metadata.outputs.release_ref }} + - name: Set up Node + uses: actions/setup-node@v6 + with: + node-version-file: '.nvmrc' + - name: Check out Qwen Code source if: ${{ inputs.qwen_code_source == 'source_branch' }} uses: actions/checkout@v4 diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..2bd5a0a98 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22