From 40a3d2b256e5796259387771099a2b55487a26cb Mon Sep 17 00:00:00 2001 From: vaebe <18137693952@163.com> Date: Thu, 13 Nov 2025 22:08:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20=E5=A2=9E=E5=8A=A0=20test=20?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..d54309c7 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,34 @@ +name: Test + +on: + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [22.x] + + steps: + - name: Checkout + uses: actions/checkout@v5 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 10 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v6 + with: + node-version: ${{ matrix.node-version }} + cache: pnpm + + - name: Install dependencies + run: pnpm install + + - name: Run tests + run: pnpm --filter ccui test \ No newline at end of file From ec25e1d72f0f4045ad971e423ef7267a9515ce48 Mon Sep 17 00:00:00 2001 From: vaebe <18137693952@163.com> Date: Thu, 13 Nov 2025 22:09:52 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20=E5=A2=9E=E5=8A=A0=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=20=E6=9E=84=E5=BB=BA=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/buildComponents.yml | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/buildComponents.yml diff --git a/.github/workflows/buildComponents.yml b/.github/workflows/buildComponents.yml new file mode 100644 index 00000000..df800feb --- /dev/null +++ b/.github/workflows/buildComponents.yml @@ -0,0 +1,34 @@ +name: Test + +on: + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [22.x] + + steps: + - name: Checkout + uses: actions/checkout@v5 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 10 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v6 + with: + node-version: ${{ matrix.node-version }} + cache: pnpm + + - name: Install dependencies + run: pnpm install + + - name: Run tests + run: pnpm --filter cli build:components \ No newline at end of file