File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,16 +72,23 @@ jobs:
7272 VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
7373 VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID }}
7474 steps :
75+ - uses : pnpm/action-setup@v5
76+
77+ - name : Setup Node
78+ uses : actions/setup-node@v6
79+ with :
80+ node-version : 22
81+
7582 - name : Download artifact
7683 uses : actions/download-artifact@v4
7784 with :
7885 name : dist
7986 path : dist
8087
81- - name : Install Vercel CLI
82- run : npm install -g vercel@latest
88+ - name : Install vercel
89+ run : pnpm add vercel
8390
8491 - name : Deploy to Vercel
8592 run : |
8693 cd dist
87- vercel --token=${{ secrets.VERCEL_TOKEN }} --yes --prod
94+ pnpm exec vercel --token=${{ secrets.VERCEL_TOKEN }} --yes --prod --prebuilt
Original file line number Diff line number Diff line change 2323 "lint-staged" : " ^16.4.0" ,
2424 "pngjs" : " ^7.0.0" ,
2525 "tsx" : " ^4.21.0" ,
26+ "vercel" : " ^42.0.0" ,
2627 "vitepress" : " 2.0.0-alpha.17"
2728 },
2829 "lint-staged" : {
You can’t perform that action at this time.
0 commit comments