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