feat: make ci more robust
Signed-off-by: Alix von Schirp <github@avonschirp.bootmedia.de>
This commit is contained in:
34
.github/workflows/ci.yaml
vendored
34
.github/workflows/ci.yaml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user