feat: 更新 test-cache-state GitHub Action,修改运行环境为 ubuntu-node-20,以支持 Node.js 20 的特性和优化,提升测试的兼容性和性能。

This commit is contained in:
Lyda
2025-08-21 12:00:16 +08:00
parent f9e0a013d8
commit ef9d766ecb

View File

@@ -34,7 +34,7 @@ jobs:
# 基础功能测试
test-basic-operations:
if: ${{ inputs.test_scope == 'basic' || inputs.test_scope == 'full' }}
runs-on: ubuntu-latest
runs-on: ubuntu-node-20
outputs:
test-value: ${{ steps.basic-test.outputs.state-value }}
cache-hit: ${{ steps.basic-test.outputs.cache-hit }}