File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,10 @@ jobs:
198
198
NODE_ENV : production
199
199
NEXT_EXTERNAL_TESTS_FILTERS : ${{ steps.test-filters.outputs.filters }}
200
200
NEXT_TEST_SKIP_RETRY_MANIFEST : ${{ steps.test-filters.outputs.skip-retry }}
201
+ # Use a unique alias per test matrix group and shard. Otherwise, a deploy within
202
+ # one job may wait for deploys in other jobs (only one deploy may be in progress for
203
+ # a given alias at a time), resulting in cascading timeouts.
204
+ DEPLOY_ALIAS : vercel-next-e2e-${{ matrix.version_spec.selector }}-${{ matrix.group }}
201
205
run : node run-tests.js -g ${{ matrix.group }}/${{ needs.setup.outputs.total }} -c ${TEST_CONCURRENCY} --type e2e
202
206
working-directory : ${{ env.next-path }}
203
207
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ export class NextDeployInstance extends NextInstance {
133
133
const deployTitle = process . env . GITHUB_SHA
134
134
? `${ testName } - ${ process . env . GITHUB_SHA } `
135
135
: testName
136
- const deployAlias = 'vercel-next-e2e'
136
+ const deployAlias = process . env . DEPLOY_ALIAS ?? 'vercel-next-e2e'
137
137
138
138
const deployResPromise = execa (
139
139
'npx' ,
You can’t perform that action at this time.
0 commit comments