mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 04:22:07 +00:00
[tests] Run dev e2e against same cli version (#8274)
The dev integration tests compare `vc dev` with a real deployment to make sure the results are the same. This PR ensures the deployment uses the same version of Vercel CLI as the local `vc dev` instance. Co-authored-by: Sean Massa <EndangeredMassa@gmail.com>
This commit is contained in:
@@ -347,6 +347,9 @@ function testFixtureStdio(
|
||||
? ['--scope', process.env.VERCEL_TEAM_ID]
|
||||
: []),
|
||||
'deploy',
|
||||
...(process.env.VERCEL_CLI_VERSION
|
||||
? ['--build-env', `VERCEL_CLI_VERSION=${process.env.VERCEL_CLI_VERSION}`]
|
||||
: []),
|
||||
'--public',
|
||||
'--debug',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user