mirror of
https://github.com/rustfs/console.git
synced 2026-08-30 17:14:47 +08:00
Set min PNPM 11.4.0 (#123)
This commit is contained in:
@@ -18,6 +18,10 @@ concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
env:
|
||||
PNPM_VERSION: "11.4"
|
||||
NODE_VERSION: "22"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
permissions:
|
||||
@@ -49,11 +53,11 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||
- name: Install dependencies
|
||||
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
|
||||
|
||||
@@ -17,6 +17,10 @@ on:
|
||||
- major
|
||||
- all
|
||||
|
||||
env:
|
||||
PNPM_VERSION: "11.4"
|
||||
NODE_VERSION: "22"
|
||||
|
||||
jobs:
|
||||
# ============================================================================
|
||||
# 依赖安全扫描
|
||||
@@ -52,11 +56,11 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -198,11 +202,11 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -278,7 +282,7 @@ jobs:
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: "npm"
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -464,11 +468,11 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
|
||||
@@ -9,6 +9,10 @@ on:
|
||||
# 每天凌晨 2 点运行质量检查
|
||||
- cron: "0 2 * * *"
|
||||
|
||||
env:
|
||||
PNPM_VERSION: "11.4"
|
||||
NODE_VERSION: "22"
|
||||
|
||||
jobs:
|
||||
# ============================================================================
|
||||
# 代码格式检查
|
||||
@@ -44,11 +48,11 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -105,11 +109,11 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -158,11 +162,11 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -252,11 +256,11 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
|
||||
@@ -14,6 +14,7 @@ on:
|
||||
type: string
|
||||
|
||||
env:
|
||||
PNPM_VERSION: "11.4"
|
||||
NODE_VERSION: "22"
|
||||
|
||||
jobs:
|
||||
@@ -58,7 +59,7 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION}}
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
@@ -144,7 +145,7 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
|
||||
+12
-12
@@ -11,6 +11,10 @@ concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PNPM_VERSION: "11.4"
|
||||
NODE_VERSION: "22"
|
||||
|
||||
jobs:
|
||||
# ============================================================================
|
||||
# 代码质量检查
|
||||
@@ -47,11 +51,11 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -72,10 +76,6 @@ jobs:
|
||||
timeout-minutes: 15
|
||||
needs: lint
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20, 22]
|
||||
|
||||
steps:
|
||||
- name: 📥 Checkout code
|
||||
uses: actions/checkout@v6
|
||||
@@ -103,11 +103,11 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
- name: 📦 Setup Node.js ${{ matrix.node-version }}
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: 📦 Setup Node.js ${{ env.NODE_VERSION }}
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
@@ -120,7 +120,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: unit-test-results-node-${{ matrix.node-version }}
|
||||
name: unit-test-results-node-${{ env.NODE_VERSION }}
|
||||
path: |
|
||||
coverage/
|
||||
test-results.xml
|
||||
@@ -163,11 +163,11 @@ jobs:
|
||||
if: steps.detect-package-manager.outputs.manager == 'pnpm'
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10.19.0
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- name: 📦 Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "22"
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
|
||||
+2
-2
@@ -73,8 +73,8 @@
|
||||
},
|
||||
"packageManager": {
|
||||
"name": "pnpm",
|
||||
"version": ">=11.0.0",
|
||||
"onFail": "download"
|
||||
"version": "^11.4.0",
|
||||
"onFail": "error"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+198
@@ -1,6 +1,204 @@
|
||||
---
|
||||
lockfileVersion: '9.0'
|
||||
|
||||
importers:
|
||||
|
||||
.:
|
||||
configDependencies: {}
|
||||
packageManagerDependencies:
|
||||
'@pnpm/exe':
|
||||
specifier: 11.5.0
|
||||
version: 11.5.0
|
||||
pnpm:
|
||||
specifier: 11.5.0
|
||||
version: 11.5.0
|
||||
|
||||
packages:
|
||||
|
||||
'@pnpm/exe@11.5.0':
|
||||
resolution: {integrity: sha512-4hzOXq1HHrNPjwI8k1rt7Ot/Yrdx1JX3pn/L/M95ii1gid1Q6ZK6dVg4+gbSgUdPsYmYDZ4/Yfc0A7vd5C0ndg==}
|
||||
hasBin: true
|
||||
|
||||
'@pnpm/linux-arm64@11.5.0':
|
||||
resolution: {integrity: sha512-NV9HdzzCB0epuI9LqZZeTaqjH3OweNQSQCS76GzEkFxJHS9e5Gvu7tgex91gxVL7bCZ+R4yr/3d3yexBFtr2ug==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
'@pnpm/linux-x64@11.5.0':
|
||||
resolution: {integrity: sha512-vH83rRx4iPk/bwm9pBVCn+5hXbcQI66I/4zk6Vc09SusJgTqOdbN4U6VhMcGIqSEdr901ksYGCyIbMv7f6Guew==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@pnpm/linuxstatic-arm64@11.5.0':
|
||||
resolution: {integrity: sha512-2nOnMW1rSwGv22q2yZz1HlGT3ly/Ij8wUlX0NB4n+Krx7nETRHA3MgWsbkVejxHknDcTulRVudAghuX9rgrXcw==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@pnpm/linuxstatic-x64@11.5.0':
|
||||
resolution: {integrity: sha512-ONOC1Mg0JusHtjzkRlre9di1QO+GAjy4HP7jMjDx21yGhrSheNdUweTXbekMH1EflRd19kTU6d8M3zewJFPtVg==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@pnpm/macos-arm64@11.5.0':
|
||||
resolution: {integrity: sha512-od0ALdTxs4A7s5vAH5q2l2phzCJb98+PVOW1rq7BGpWGeYxQ+EwvL+vq0KaO6iLsn/eVVoncCkgZ/k6QNYuTgw==}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@pnpm/win-arm64@11.5.0':
|
||||
resolution: {integrity: sha512-9HqbI80FjVVqFx4+EPxYYNfeP9Sx69W6kYqUDvOJn9G7RJ/2NNNQ898cVHTMpXlW1/PrMEcijmdpa/NjZIrWiQ==}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@pnpm/win-x64@11.5.0':
|
||||
resolution: {integrity: sha512-Q89CQqFGAsWmfvHZs5Kbbar45q3GBYtfAdPUCiVMVNJoLi3dsBS2LCvUq8ak3AufkFDaJBpvhaFcDP2M1NXr3A==}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@reflink/reflink-darwin-arm64@0.1.19':
|
||||
resolution: {integrity: sha512-ruy44Lpepdk1FqDz38vExBY/PVUsjxZA+chd9wozjUH9JjuDT/HEaQYA6wYN9mf041l0yLVar6BCZuWABJvHSA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@reflink/reflink-darwin-x64@0.1.19':
|
||||
resolution: {integrity: sha512-By85MSWrMZa+c26TcnAy8SDk0sTUkYlNnwknSchkhHpGXOtjNDUOxJE9oByBnGbeuIE1PiQsxDG3Ud+IVV9yuA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
'@reflink/reflink-linux-arm64-gnu@0.1.19':
|
||||
resolution: {integrity: sha512-7P+er8+rP9iNeN+bfmccM4hTAaLP6PQJPKWSA4iSk2bNvo6KU6RyPgYeHxXmzNKzPVRcypZQTpFgstHam6maVg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@reflink/reflink-linux-arm64-musl@0.1.19':
|
||||
resolution: {integrity: sha512-37iO/Dp6m5DDaC2sf3zPtx/hl9FV3Xze4xoYidrxxS9bgP3S8ALroxRK6xBG/1TtfXKTvolvp+IjrUU6ujIGmA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@reflink/reflink-linux-x64-gnu@0.1.19':
|
||||
resolution: {integrity: sha512-jbI8jvuYCaA3MVUdu8vLoLAFqC+iNMpiSuLbxlAgg7x3K5bsS8nOpTRnkLF7vISJ+rVR8W+7ThXlXlUQ93ulkw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [glibc]
|
||||
|
||||
'@reflink/reflink-linux-x64-musl@0.1.19':
|
||||
resolution: {integrity: sha512-e9FBWDe+lv7QKAwtKOt6A2W/fyy/aEEfr0g6j/hWzvQcrzHCsz07BNQYlNOjTfeytrtLU7k449H1PI95jA4OjQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
libc: [musl]
|
||||
|
||||
'@reflink/reflink-win32-arm64-msvc@0.1.19':
|
||||
resolution: {integrity: sha512-09PxnVIQcd+UOn4WAW73WU6PXL7DwGS6wPlkMhMg2zlHHG65F3vHepOw06HFCq+N42qkaNAc8AKIabWvtk6cIQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@reflink/reflink-win32-x64-msvc@0.1.19':
|
||||
resolution: {integrity: sha512-E//yT4ni2SyhwP8JRjVGWr3cbnhWDiPLgnQ66qqaanjjnMiu3O/2tjCPQXlcGc/DEYofpDc9fvhv6tALQsMV9w==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@reflink/reflink@0.1.19':
|
||||
resolution: {integrity: sha512-DmCG8GzysnCZ15bres3N5AHCmwBwYgp0As6xjhQ47rAUTUXxJiK+lLUxaGsX3hd/30qUpVElh05PbGuxRPgJwA==}
|
||||
engines: {node: '>= 10'}
|
||||
|
||||
detect-libc@2.1.2:
|
||||
resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
|
||||
engines: {node: '>=8'}
|
||||
|
||||
pnpm@11.5.0:
|
||||
resolution: {integrity: sha512-2/zE+Bz0hZev1Lw5H/3xLBHxqfuDo5W/prCi2cwv2P/rr9scy9UpYyFT95OQTCYVt/Cf4aNFRz/Rw1hFFyqOsQ==}
|
||||
engines: {node: '>=22.13'}
|
||||
hasBin: true
|
||||
|
||||
snapshots:
|
||||
|
||||
'@pnpm/exe@11.5.0':
|
||||
dependencies:
|
||||
'@reflink/reflink': 0.1.19
|
||||
detect-libc: 2.1.2
|
||||
optionalDependencies:
|
||||
'@pnpm/linux-arm64': 11.5.0
|
||||
'@pnpm/linux-x64': 11.5.0
|
||||
'@pnpm/linuxstatic-arm64': 11.5.0
|
||||
'@pnpm/linuxstatic-x64': 11.5.0
|
||||
'@pnpm/macos-arm64': 11.5.0
|
||||
'@pnpm/win-arm64': 11.5.0
|
||||
'@pnpm/win-x64': 11.5.0
|
||||
|
||||
'@pnpm/linux-arm64@11.5.0':
|
||||
optional: true
|
||||
|
||||
'@pnpm/linux-x64@11.5.0':
|
||||
optional: true
|
||||
|
||||
'@pnpm/linuxstatic-arm64@11.5.0':
|
||||
optional: true
|
||||
|
||||
'@pnpm/linuxstatic-x64@11.5.0':
|
||||
optional: true
|
||||
|
||||
'@pnpm/macos-arm64@11.5.0':
|
||||
optional: true
|
||||
|
||||
'@pnpm/win-arm64@11.5.0':
|
||||
optional: true
|
||||
|
||||
'@pnpm/win-x64@11.5.0':
|
||||
optional: true
|
||||
|
||||
'@reflink/reflink-darwin-arm64@0.1.19':
|
||||
optional: true
|
||||
|
||||
'@reflink/reflink-darwin-x64@0.1.19':
|
||||
optional: true
|
||||
|
||||
'@reflink/reflink-linux-arm64-gnu@0.1.19':
|
||||
optional: true
|
||||
|
||||
'@reflink/reflink-linux-arm64-musl@0.1.19':
|
||||
optional: true
|
||||
|
||||
'@reflink/reflink-linux-x64-gnu@0.1.19':
|
||||
optional: true
|
||||
|
||||
'@reflink/reflink-linux-x64-musl@0.1.19':
|
||||
optional: true
|
||||
|
||||
'@reflink/reflink-win32-arm64-msvc@0.1.19':
|
||||
optional: true
|
||||
|
||||
'@reflink/reflink-win32-x64-msvc@0.1.19':
|
||||
optional: true
|
||||
|
||||
'@reflink/reflink@0.1.19':
|
||||
optionalDependencies:
|
||||
'@reflink/reflink-darwin-arm64': 0.1.19
|
||||
'@reflink/reflink-darwin-x64': 0.1.19
|
||||
'@reflink/reflink-linux-arm64-gnu': 0.1.19
|
||||
'@reflink/reflink-linux-arm64-musl': 0.1.19
|
||||
'@reflink/reflink-linux-x64-gnu': 0.1.19
|
||||
'@reflink/reflink-linux-x64-musl': 0.1.19
|
||||
'@reflink/reflink-win32-arm64-msvc': 0.1.19
|
||||
'@reflink/reflink-win32-x64-msvc': 0.1.19
|
||||
|
||||
detect-libc@2.1.2: {}
|
||||
|
||||
pnpm@11.5.0: {}
|
||||
|
||||
---
|
||||
lockfileVersion: '9.0'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
Reference in New Issue
Block a user