Update ci.yaml to use pnpm instead of pnpx for Vercel commands
All checks were successful
CI / build-and-deploy (push) Successful in 3m46s

This commit is contained in:
严浩
2024-09-26 14:09:06 +08:00
parent 088e9f0ad7
commit 1d41cd4011
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -1,5 +1,5 @@
{
"name": "vue-ts",
"name": "vue-ts-example",
"version": "0.0.0",
"private": true,
"type": "module",