Skip to content

Commit 3184e52

Browse files
committed
更新 GitHub 工作流配置,升级 actions/checkout 至 v4,移除 pnpm 安装步骤,简化工作流。同时,调整测试命令以设置最大工作线程数为 1,提升测试稳定性。
1 parent eed58b2 commit 3184e52

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,14 @@ jobs:
77
if: github.repository == 'ant-design/pro-components'
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 1
1313
- uses: actions/setup-node@v4
1414
with:
1515
node-version: 20
1616
cache: 'pnpm'
17-
- name: Install pnpm
18-
uses: pnpm/action-setup@v2
19-
with:
20-
version: 10.13.1
21-
2217
- run: pnpm install
23-
if: |
24-
steps.cache-pnpm-cache.outputs.cache-hit != 'true' ||
25-
steps.cache-node-modules.outputs.cache-hit != 'true'
2618
- run: pnpm run test:coverage --maxWorkers=1
2719
env:
2820
CI: true

0 commit comments

Comments
 (0)