chore: Update package.json dependencies and add Vercel and Surge
All checks were successful
CI / cache-and-install (push) Successful in 1m54s
All checks were successful
CI / cache-and-install (push) Successful in 1m54s
This commit is contained in:
@ -37,17 +37,10 @@ jobs:
|
||||
- name: Lint
|
||||
run: pnpm lint
|
||||
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
env:
|
||||
VITE_BUILD_COMMIT: ${{ github.sha }}
|
||||
|
||||
# https://github.com/Tencent/tdesign-vue-next/pull/1604#issuecomment-1236244550
|
||||
- name: Surge
|
||||
# pnpx surge token
|
||||
run: |
|
||||
cp dist/index.html dist/200.html
|
||||
pnpx surge dist https://vue-ts-example.surge.sh --token ${{ secrets.SURGE_TOKEN }}
|
||||
# - name: Build
|
||||
# run: pnpm build
|
||||
# env:
|
||||
# VITE_BUILD_COMMIT: ${{ github.sha }}
|
||||
|
||||
# https://github.com/vercel/examples/tree/main/ci-cd/github-actions
|
||||
# - name: Install Vercel CLI
|
||||
@ -60,3 +53,10 @@ jobs:
|
||||
VITE_BUILD_COMMIT: ${{ github.sha }}
|
||||
- name: Deploy Project Artifacts to Vercel
|
||||
run: pnpx vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
|
||||
|
||||
# https://github.com/Tencent/tdesign-vue-next/pull/1604#issuecomment-1236244550
|
||||
- name: Surge
|
||||
# pnpx surge token
|
||||
run: |
|
||||
cp dist/index.html dist/200.html
|
||||
pnpx surge dist https://vue-ts-example.surge.sh --token ${{ secrets.SURGE_TOKEN }}
|
||||
|
@ -80,6 +80,7 @@
|
||||
"lint-staged": "^15.2.10",
|
||||
"npm-run-all2": "^6.2.3",
|
||||
"prettier": "^3.3.3",
|
||||
"surge": "latest",
|
||||
"typescript": "~5.6.2",
|
||||
"unocss": "^0.62.3",
|
||||
"unplugin-auto-import": "^0.18.3",
|
||||
@ -88,6 +89,7 @@
|
||||
"unplugin-vue-macros": "^2.12.1",
|
||||
"unplugin-vue-markdown": "^0.26.2",
|
||||
"unplugin-vue-router": "^0.10.8",
|
||||
"vercel": "latest",
|
||||
"vite": "^5.4.5",
|
||||
"vite-plugin-cdn-import": "^1.0.1",
|
||||
"vite-plugin-vue-devtools": "^7.4.5",
|
||||
|
2048
pnpm-lock.yaml
generated
2048
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user