Skip to content

Commit 88dd282

Browse files
authored
Merge branch 'next' into feat/core-manifest-store
2 parents 1df87a9 + 0dc5dfb commit 88dd282

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,12 @@ jobs:
6363
matrix:
6464
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
6565
node: ['20', '22', '24']
66-
# 1-based index
67-
shardIndex: [1, 2, 3]
68-
shardTotal: [3]
6966

70-
name: Test (${{ matrix.os }}, ${{ matrix.node }}, ${{ matrix.shardIndex }}/${{ matrix.shardTotal }})
67+
name: Test (${{ matrix.os }}, ${{ matrix.node }})
7168
runs-on: ${{ matrix.os }}
7269

7370
concurrency:
74-
group: test-${{ github.workflow }}-#${{ github.event.pull_request.number || github.head_ref || github.ref }}-(${{ matrix.os }}, ${{ matrix.node }}, ${{ matrix.shardIndex }}/${{ matrix.shardTotal }})
71+
group: test-${{ github.workflow }}-#${{ github.event.pull_request.number || github.head_ref || github.ref }}-(${{ matrix.os }}, ${{ matrix.node }})
7572
cancel-in-progress: true
7673

7774
steps:
@@ -170,7 +167,7 @@ jobs:
170167
run: pnpm install --frozen-lockfile
171168

172169
- name: Run tests
173-
run: pnpm run ci --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
170+
run: pnpm run ci
174171

175172
- name: Run example tests
176173
if: ${{ matrix.node != '20' && matrix.os != 'windows-latest' }}
@@ -190,15 +187,12 @@ jobs:
190187
matrix:
191188
os: ['ubuntu-latest', 'windows-latest']
192189
node: ['24']
193-
# 0-based index
194-
shardIndex: [0, 1, 2]
195-
shardTotal: [3]
196190

197-
name: Test bin (${{ matrix.os }}, ${{ matrix.node }}, ${{ matrix.shardIndex }}/${{ matrix.shardTotal }})
191+
name: Test bin (${{ matrix.os }}, ${{ matrix.node }})
198192
runs-on: ${{ matrix.os }}
199193

200194
concurrency:
201-
group: test-egg-bin-${{ github.workflow }}-#${{ github.event.pull_request.number || github.head_ref || github.ref }}-(${{ matrix.os }}, ${{ matrix.node }}, ${{ matrix.shardIndex }}/${{ matrix.shardTotal }})
195+
group: test-egg-bin-${{ github.workflow }}-#${{ github.event.pull_request.number || github.head_ref || github.ref }}-(${{ matrix.os }}, ${{ matrix.node }})
202196
cancel-in-progress: true
203197

204198
steps:
@@ -221,10 +215,6 @@ jobs:
221215
run: |
222216
pnpm build --workspace ./tools/egg-bin
223217
pnpm run --filter ./tools/egg-bin ci
224-
env:
225-
# https://github.com/jamiebuilds/ci-parallel-vars
226-
CI_NODE_INDEX: ${{ matrix.shardIndex }}
227-
CI_NODE_TOTAL: ${{ matrix.shardTotal }}
228218
229219
- name: Code Coverage
230220
# skip on windows, it will hangup on codecov https://github.com/codecov/codecov-action/issues/1787

0 commit comments

Comments
 (0)