diff --git a/.github/workflows/Code-review.yml b/.github/workflows/Code-review.yml index 99bd6eb..29b2cf5 100644 --- a/.github/workflows/Code-review.yml +++ b/.github/workflows/Code-review.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v2 # 将代码库检出到 Runner 中 - name: Setup Node.js - uses: actions/setup-node@v2 # 安装 Node.js 运行环境和依赖项 + uses: actions/setup-node@v4 # 安装 Node.js 运行环境和依赖项 with: node-version: '14.x' - name: Install dependencies diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index b79ba41..cc43080 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@v3 # 使用 actions/checkout 动作 - name: Setup Node.js environment # 步骤名称为:Setup Node.js environment - uses: actions/setup-node@v3 # 使用 actions/setup-node 动作安装 Node.js 环境 + uses: actions/setup-node@v4 # 使用 actions/setup-node 动作安装 Node.js 环境 with: node-version: '14.x'