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