Update ci.yaml to use pnpm instead of pnpx for Vercel commands
All checks were successful
CI / build-and-deploy (push) Successful in 3m46s
All checks were successful
CI / build-and-deploy (push) Successful in 3m46s
This commit is contained in:
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -54,11 +54,11 @@ jobs:
|
||||
- name: Pull Vercel Environment Information
|
||||
run: pnpm exec vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||
- name: Build Project Artifacts
|
||||
run: pnpm exec vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
|
||||
run: pnpm exec vercel build --target=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||
env:
|
||||
VITE_BUILD_COMMIT: ${{ github.sha }}
|
||||
- name: Deploy Project Artifacts to Vercel
|
||||
run: pnpm exec vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
|
||||
run: pnpm exec vercel deploy --prebuilt --target=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||
|
||||
# https://github.com/Tencent/tdesign-vue-next/pull/1604#issuecomment-1236244550
|
||||
- name: Surge
|
||||
|
Reference in New Issue
Block a user