From f0b395753601b86486b606e99ead98d93df60f74 Mon Sep 17 00:00:00 2001 From: Alix von Schirp Date: Wed, 22 Oct 2025 05:24:33 +0200 Subject: [PATCH] feat: make ci more robust Signed-off-by: Alix von Schirp --- .github/workflows/ci.yaml | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6e6e5f0..c2cc639 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,12 +1,22 @@ -on: [push, pull_request] - -jobs: - check: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Install Deps - run: npm install -g pnpm && pnpm install - - name: Typecheck & Lint - run: pnpm check +on: [push, pull_request] + +jobs: + check: + runs-on: ubuntu-22.04 + strategy: + matrix: + node-version: [20, 22] + steps: + - name: Checkout + uses: actions/checkout@v5 + - name: Install Deps + uses: pnpm/action-setup@v4 + - name: Setup Node + uses: actions/setup-node@v5 + with: + node-version: ${{ matrix.node-version }} + cache: "pnpm" + - name: Install + run: pnpm install + - name: Typecheck & Lint + run: SKIP_ENV_VALIDATION=true turbo check