From fadb0876ffbfbba53d4e67dbe4e68d28d14b37cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BCschel?= Date: Tue, 21 Oct 2025 01:51:16 +0800 Subject: [PATCH] ci: run against node v18, 20 and 22 + run ultracite --- .github/workflows/test.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ab865b..35910a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,9 +10,13 @@ on: jobs: test: - name: Run Tests + name: Run Tests (Node.js ${{ matrix.node-version }}) runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18, 20, 22] + steps: - name: Checkout Repo uses: actions/checkout@v4 @@ -20,13 +24,16 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 - - name: Setup Node.js 22 + - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: - node-version: 22 + node-version: ${{ matrix.node-version }} - name: Install Dependencies run: pnpm i + - name: Run Check + run: pnpm check + - name: Run Tests - run: pnpm test \ No newline at end of file + run: pnpm test