Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

ci: install the regular Vercel CLI with pnpm (#4493)

Andrew Barbadbfe2b2d3e4f
diff --git a/.github/workflows/bundle-analysis.yml b/.github/workflows/bundle-analysis.yml
index 7d6ef6f5a..908aa2a7d 100644
--- a/.github/workflows/bundle-analysis.yml
+++ b/.github/workflows/bundle-analysis.yml
@@ -107,11 +107,9 @@ jobs:
node-version-file: .nvmrc
cache: "pnpm"
- # --force replaces any vercel/vc bin links already on the runner; the allowed
- # postinstall swaps the Node launcher for the native binary.
- name: Install Vercel CLI
if: ${{ steps.mode.outputs.acknowledge_only != 'true' }}
- run: npm install --global --force --allow-scripts=@vercel/vc-native @vercel/vc-native && vercel --version
+ run: pnpm add --global vercel@latest && vercel --version
- name: Install dependencies
if: ${{ steps.mode.outputs.acknowledge_only != 'true' }}
diff --git a/.github/workflows/e2e-vercel.yml b/.github/workflows/e2e-vercel.yml
index 6f706daf7..b06235d38 100644
--- a/.github/workflows/e2e-vercel.yml
+++ b/.github/workflows/e2e-vercel.yml
@@ -107,11 +107,9 @@ jobs:
node-version-file: .nvmrc
cache: "pnpm"
- # --force replaces any vercel/vc bin links already on the runner; the allowed
- # postinstall swaps the Node launcher for the native binary.
- name: Install Vercel CLI
if: needs.changes.outputs.relevant == 'true'
- run: npm install --global --force --allow-scripts=@vercel/vc-native @vercel/vc-native && vercel --version
+ run: pnpm add --global vercel@latest && vercel --version
- name: Install dependencies
if: needs.changes.outputs.relevant == 'true'
diff --git a/e2e/README.md b/e2e/README.md
index 07a379c1f..aee9e9df9 100644
--- a/e2e/README.md
+++ b/e2e/README.md
@@ -94,10 +94,10 @@ One-time project setup:
- Provide `VERCEL_TOKEN`, `VERCEL_ORG_ID`, and `VERCEL_PROJECT_ID` in CI.
The repository does not install the Vercel CLI. Locally, any global `vercel`
-install works. CI installs the latest native binary:
+install works. CI installs it with pnpm:
```sh
-npm install --global --force --allow-scripts=@vercel/vc-native @vercel/vc-native
+pnpm add --global vercel@latest
```
Run a fixture against Vercel from its directory: