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
|
- name: Pull Vercel Environment Information
|
||||||
run: pnpm exec vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
run: pnpm exec vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||||
- name: Build Project Artifacts
|
- 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:
|
env:
|
||||||
VITE_BUILD_COMMIT: ${{ github.sha }}
|
VITE_BUILD_COMMIT: ${{ github.sha }}
|
||||||
- name: Deploy Project Artifacts to Vercel
|
- 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
|
# https://github.com/Tencent/tdesign-vue-next/pull/1604#issuecomment-1236244550
|
||||||
- name: Surge
|
- name: Surge
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-ts",
|
"name": "vue-ts-example",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
Reference in New Issue
Block a user