From 8882c5ca6e791678620b89c4e2987ea7e2f33942 Mon Sep 17 00:00:00 2001 From: Wzp-2008 Date: Sun, 12 Jan 2025 23:47:14 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=B0=86bun=E4=BF=AE=E6=94=B9=E4=B8=BAya?= =?UTF-8?q?rn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ebe0383..6adbfec 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,12 +9,14 @@ jobs: uses: actions/checkout@v4 - name: 设置node镜像 run: npm config set registry https://registry.npmmirror.com - - name: 设置bun环境 - run: npm install -g bun + - name: 设置yarn环境 + run: npm install -g yarn + - name: 设置yarn镜像 + run : yarn config set registry https://registry.npmmirror.com - name: 获取依赖 - run: bun install + run: yarn - name: 编译 - run: bun run build-only + run: yarn build-only - name: 上传编译后产物 uses: actions/upload-artifact@v3 with: