From 4b3e956e6a7770835921ebe3a185438c66bbf3d1 Mon Sep 17 00:00:00 2001 From: Jevin Date: Fri, 15 May 2026 17:15:32 +0800 Subject: [PATCH] ci: add build and zip checks --- .github/workflows/test.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 53e97c9..49b68d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,3 +52,36 @@ jobs: - name: E2E tests run: pnpm test:e2e + + package: + name: ${{ matrix.name }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - name: Build + command: pnpm build + - name: Zip + command: pnpm zip + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 9.14.1 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: ${{ matrix.name }} + run: ${{ matrix.command }}