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