From e1aa24453cb99d2b7166f2aa2445de0c1a76c8d4 Mon Sep 17 00:00:00 2001 From: MKStoler Date: Thu, 19 Dec 2024 02:59:19 +0000 Subject: [PATCH] =?UTF-8?q?dev(ci):=20=E5=86=8D=20=E6=AC=A1=20=E4=BF=AE=20?= =?UTF-8?q?=E5=A4=8D=20x2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3e16ec4..e185501 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -22,13 +22,13 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: 安装依赖 - run: yarn install - - - name: Windows 设置镜像源 if: matrix.os == 'windows-latest' - run: yarn build:win + run: yarn config set registry https://registry.npmmirror.com/ + + + - name: 安装依赖 + run: yarn install - name: Windows 构建 if: matrix.os == 'windows-latest'