mirror of
https://github.com/rustfs/console.git
synced 2026-08-30 17:14:47 +08:00
⬆️ chore: 升级 CI/CD 工作流 Node.js 版本至 22
- 将所有工作流文件中的 Node.js 版本从 18 升级到 22 - test.yml: 更新单元测试矩阵为 [20, 22] - release.yml: 更新环境变量 NODE_VERSION 为 22 - quality.yml: 更新所有代码质量检查任务的 Node 版本 - dependencies.yml: 更新依赖管理任务的 Node 版本
This commit is contained in:
@@ -32,7 +32,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -154,7 +154,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -230,7 +230,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -396,7 +396,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -90,7 +90,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -160,7 +160,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -257,7 +257,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
|
||||
@@ -22,7 +22,7 @@ on:
|
||||
- production
|
||||
|
||||
env:
|
||||
NODE_VERSION: '18'
|
||||
NODE_VERSION: '22'
|
||||
|
||||
jobs:
|
||||
# ============================================================================
|
||||
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18, 20]
|
||||
node-version: [20, 22]
|
||||
|
||||
steps:
|
||||
- name: 📥 Checkout code
|
||||
@@ -96,7 +96,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -133,7 +133,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -170,7 +170,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -235,7 +235,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -279,7 +279,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -312,7 +312,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
|
||||
Reference in New Issue
Block a user