From 6911b502186ec466c2c2130548185d302a0c7621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E7=8A=80=E9=BA=9F?= Date: Thu, 27 Aug 2026 00:06:26 +0800 Subject: [PATCH] =?UTF-8?q?FIX:=20deploy=20workflow=20vite=20bin=20?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E2=80=94=E2=80=94node-linker=3Dhoisted=20?= =?UTF-8?q?=E4=B8=8B=E7=94=A8=E4=BB=93=E5=BA=93=E6=A0=B9=20node=5Fmodules/?= =?UTF-8?q?.bin/vite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 65b5ec5..1d4e2a4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -56,7 +56,8 @@ jobs: run: | export PATH="/opt/node-v22.22.2-linux-x64/bin:$PATH" 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 run: |