chore: bump pnpm version to 9 (#5953)

#### What type of PR is this?

/area ui
/kind improvement
/milestone 2.16.x

#### What this PR does / why we need it:

升级 pnpm 的版本至 9,以及 GitHub Actions 的 Node 版本改为了 20。

#### Does this PR introduce a user-facing change?

```release-note
升级 pnpm 的版本至 9
```
pull/5959/head
Ryan Wang 2024-05-21 11:24:45 +08:00 committed by GitHub
parent d2a9c804ce
commit 248d075481
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12652 additions and 12266 deletions

View File

@ -5,12 +5,12 @@ inputs:
node-version:
description: Node.js version.
required: false
default: "18"
default: "20"
pnpm-version:
description: pnpm version.
required: false
default: "8"
default: "9"
java-version:
description: Java version.
@ -29,8 +29,8 @@ runs:
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: 'pnpm'
cache-dependency-path: 'ui/pnpm-lock.yaml'
cache: "pnpm"
cache-dependency-path: "ui/pnpm-lock.yaml"
- name: Setup JDK
uses: actions/setup-java@v4

View File

@ -23,7 +23,7 @@
## 开发环境运行
```bash
npm install -g pnpm@8
npm install -g pnpm@9
```
```bash

File diff suppressed because it is too large Load Diff