From a7821aaf9d62355af99526dc2698b8425ff7aca1 Mon Sep 17 00:00:00 2001 From: Wzp-2008 Date: Sun, 12 Jan 2025 23:36:07 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E5=A4=8D=E4=BA=86=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E8=84=9A=E6=9C=AC=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 731d1d2..e7a820b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,21 +5,21 @@ jobs: build: runs-on: ubuntu-22.04 steps: - - name: checkout + - name: 拉取仓库 uses: actions/checkout@v4 - - name: setup node env - - uses: actions/setup-node@v4 + - name: 设置node环境 + uses: actions/setup-node@v4 with: node-version: lts/* - - name: setup node cn mirror + - name: 设置node镜像 run: npm config set registry https://registry.npmmirror.com - - name: setup bun env + - name: 设置bun环境 run: npm install -g bun - - name: install deps + - name: 获取依赖 run: bun install - - name: build + - name: 编译 run: bun run build-only - - name: upload artifacts + - name: 上传编译后产物 uses: actions/upload-artifact@v3 with: name: main