From 174ba237bed737b8f57c641dcb8d551e892414ad Mon Sep 17 00:00:00 2001 From: yuming Date: Sun, 17 May 2026 15:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E7=94=A8=20n=20?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=20Node.js=20=E5=88=B0=2022=EF=BC=8C=E8=A6=86?= =?UTF-8?q?=E7=9B=96=E5=AE=B9=E5=99=A8=E5=86=85=E5=B7=B2=E6=9C=89=E7=9A=84?= =?UTF-8?q?=20Node=2020?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd1f08a..95a2e66 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,8 +44,9 @@ jobs: - name: Setup Node.js 22 run: | - curl -fsSL https://deb.nodesource.com/setup_22.x | bash - - apt-get install -y nodejs + npm install -g n + n 22 + hash -r node --version # 动态生成中文版 capacitor.config.json(webDir 指向 zh/ 目录) @@ -121,8 +122,9 @@ jobs: - name: Setup Node.js 22 run: | - curl -fsSL https://deb.nodesource.com/setup_22.x | bash - - apt-get install -y nodejs + npm install -g n + n 22 + hash -r node --version # 动态生成英文版 capacitor.config.json(webDir 指向 en/ 目录)