File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,20 +18,20 @@ jobs:
18
18
runs-on : ubuntu-latest
19
19
outputs :
20
20
params : ${{ steps.define-params.outputs.result }}
21
- shard_id : ${{ steps.define-chunks .outputs.result }}
21
+ shard_id : ${{ steps.define-shards .outputs.result }}
22
22
steps :
23
23
- uses : actions/github-script@v7
24
- id : define-chunks
24
+ id : define-shards
25
25
with :
26
26
script : |
27
27
function range(from, to) {
28
28
const arr = [];
29
- for (let n = from; n < to; n++) {
29
+ for (let n = from; n <= to; n++) {
30
30
arr.push(n);
31
31
}
32
32
return arr;
33
33
}
34
- return range(0 , process.env.SHARD_COUNT);
34
+ return range(1 , process.env.SHARD_COUNT);
35
35
- uses : actions/github-script@v7
36
36
id : define-params
37
37
with :
60
60
61
61
# Spawn a job for each shard for a given set of test params
62
62
test :
63
- name : yarn test ${{ matrix.params }} (Chunk ${{ matrix.shard_id }})
63
+ name : yarn test ${{ matrix.params }} (Shard ${{ matrix.shard_id }})
64
64
runs-on : ubuntu-latest
65
65
needs : build_test_params
66
66
strategy :
You can’t perform that action at this time.
0 commit comments