feat: make ci more robust

Signed-off-by: Alix von Schirp <github@avonschirp.bootmedia.de>
This commit is contained in:
2025-10-22 05:24:33 +02:00
parent 8984a61ec8
commit f0b3957536

View File

@@ -1,12 +1,22 @@
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
check: check:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: strategy:
- name: Checkout matrix:
uses: actions/checkout@v4 node-version: [20, 22]
- name: Install Deps steps:
run: npm install -g pnpm && pnpm install - name: Checkout
- name: Typecheck & Lint uses: actions/checkout@v5
run: pnpm check - 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