FIX: deploy workflow vite bin 路径——node-linker=hoisted 下用仓库根 node_modules/.bin/vite
Some checks failed
Build and Deploy (admin.xpcool.com) / build-and-deploy (push) Has been cancelled
Some checks failed
Build and Deploy (admin.xpcool.com) / build-and-deploy (push) Has been cancelled
This commit is contained in:
parent
0ab6cf5f17
commit
6911b50218
@ -56,7 +56,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
export PATH="/opt/node-v22.22.2-linux-x64/bin:$PATH"
|
export PATH="/opt/node-v22.22.2-linux-x64/bin:$PATH"
|
||||||
cd apps/web-tdesign
|
cd apps/web-tdesign
|
||||||
./node_modules/.bin/vite build --mode production
|
# .npmrc 为 node-linker=hoisted:vite bin 在仓库根 node_modules/.bin
|
||||||
|
../../node_modules/.bin/vite build --mode production
|
||||||
|
|
||||||
- name: Deploy to /data/www/admin.xpcool.com
|
- name: Deploy to /data/www/admin.xpcool.com
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user