Unverified Commit 49f791cc authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[test] Pin Vercel CLI to Node 20.9 compatible version (#97960)

- latest resolved to vercel@59.6.2.
- It loads `@vercel/node@8.1.0` -> `@vercel/static-config@3.4.2`.
- `@vercel/static-config` is CommonJS and calls `require("oxc-parser")`.
- `oxc-parser@0.121.0` is ESM-only and requires Node `^20.19.0 ||
>=22.12.0`.
- CI is running Node 20.9.0, which cannot synchronously
parent 1a7ccf48
...@@ -242,7 +242,8 @@ async function runTest( ...@@ -242,7 +242,8 @@ async function runTest(
}, },
// We use NEXT_TEST_PREFER_OFFLINE, so just declaring `vercel: latest` as a dependency still // We use NEXT_TEST_PREFER_OFFLINE, so just declaring `vercel: latest` as a dependency still
// doesn't force the latest version. // doesn't force the latest version.
buildCommand: 'pnpm dlx vercel@latest build', // TODO: Go back to integration testing with latest once breakage in 59.6.2 is resolved.
buildCommand: 'pnpm dlx vercel@59.5.0 build',
env: env:
mode === 'adapter' mode === 'adapter'
? { ? {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment