From a86774e7b512e0066bd3624417c982fdcf9377a3 Mon Sep 17 00:00:00 2001 From: Jiayuan Date: Fri, 30 Jan 2026 13:51:05 +0800 Subject: [PATCH] chore(ci): add GitHub Actions workflow (#28) --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..136068ef --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + ci: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: pnpm + + - name: Install dependencies + run: pnpm install + + - name: Lint + run: | + pnpm --filter @multica/web lint + pnpm --filter @multica/desktop lint + + - name: Type check + run: pnpm typecheck + + - name: Build + run: pnpm build