Skip to content

Commit 2b1cfa1

Browse files
committed
ci: decrease number of shards when running Vercel tests
1 parent 9751b4a commit 2b1cfa1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test-e2e.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ jobs:
5656
run: |
5757
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
5858
VERSION_SELECTORS=[${{ github.event.inputs.versions }}]
59-
echo "group=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]" >> $GITHUB_OUTPUT
60-
echo "total=12" >> $GITHUB_OUTPUT
59+
echo "group=[1, 2, 3, 4]" >> $GITHUB_OUTPUT
60+
echo "total=4" >> $GITHUB_OUTPUT
6161
elif [ "${{ github.event_name }}" == "pull_request" ]; then
6262
VERSION_SELECTORS=[\"latest\"]
63-
echo "group=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]" >> $GITHUB_OUTPUT
64-
echo "total=12" >> $GITHUB_OUTPUT
63+
echo "group=[1, 2, 3, 4]" >> $GITHUB_OUTPUT
64+
echo "total=4" >> $GITHUB_OUTPUT
6565
else
6666
VERSION_SELECTORS=[\"latest\",\"canary\",\"14.2.15\",\"13.5.1\"]
6767
echo "group=[1, 2, 3, 4]" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)