Unverified Commit 57d51b0e authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Tweak Vercel CLI installing for E2E tests (#47804)

Avoids accidentally running the CLI install twice at the same time due
to concurrency by pre-installing it before starting tests.

x-ref:
https://github.com/vercel/next.js/actions/runs/4581102424/jobs/8090565967
x-ref:
https://github.com/vercel/next.js/blob/canary/test/lib/next-modes/next-deploy.ts#L27
parent c8a5bd5e
...@@ -1047,6 +1047,8 @@ jobs: ...@@ -1047,6 +1047,8 @@ jobs:
name: next-swc-test-binary name: next-swc-test-binary
path: packages/next-swc/native path: packages/next-swc/native
- run: npm i -g vercel@latest
- run: RESET_VC_PROJECT=true node scripts/reset-vercel-project.mjs - run: RESET_VC_PROJECT=true node scripts/reset-vercel-project.mjs
name: Reset test project name: Reset test project
......
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