refactor: Update Vercel CLI installation to use pnpm for consistency across workflows
This commit is contained in:
@@ -11,10 +11,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install Vercel CLI
|
||||
run: npm install --global vercel@latest
|
||||
- name: Install pnpm
|
||||
run: npm install -g pnpm
|
||||
- name: Install Vercel CLI
|
||||
run: pnpm install --global vercel@latest
|
||||
- name: Pull Vercel Environment Information
|
||||
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
|
||||
- name: Build Project Artifacts
|
||||
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
- name: Install pnpm
|
||||
run: npm install -g pnpm
|
||||
- name: Install Vercel CLI
|
||||
run: npm install --global vercel@latest
|
||||
run: pnpm install --global vercel@latest
|
||||
- name: Pull Vercel Environment Information
|
||||
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||
- name: Build Project Artifacts
|
||||
|
||||
Reference in New Issue
Block a user