Skip to content

deps(deps): bump the next-react group with 2 updates #203

deps(deps): bump the next-react group with 2 updates

deps(deps): bump the next-react group with 2 updates #203

Workflow file for this run

# =============================================================================
# CI — Lint, Type-Check, Tests, Build (alle Branches + Pull-Requests)
# -----------------------------------------------------------------------------
# Trigger-Logik:
# • push auf jede Branch → CI läuft (auch auf main, parallel zu Deploy)
# • pull_request gegen main/develop → CI läuft
#
# Bei PRs aus dem GLEICHEN Repo würde sowohl push als auch pull_request feuern.
# Die concurrency-Gruppe dedupliziert das: gleicher ref → laufender Job wird
# gecancelled und durch den neuen ersetzt.
# =============================================================================
name: CI
on:
pull_request:
branches: [main, develop]
push:
branches: ["**"]
concurrency:
# Eindeutig pro Workflow + ref + event-quelle — verhindert Doppel-Runs
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Least-Privilege: CI liest nur den Code aus, schreibt nichts zurück.
permissions:
contents: read
env:
NODE_VERSION: "22"
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v7
# pnpm-Version kommt aus package.json -> "packageManager": "pnpm@x.y.z"
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v7
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Validate content (Frontmatter)
run: pnpm run validate:content
- name: Lint
run: pnpm run lint
- name: Type-check
run: pnpm run type-check
- name: Build
run: pnpm run build
env:
NEXT_TELEMETRY_DISABLED: "1"
- name: Test (Vitest)
# `pnpm test` ist `vitest run` (einmalig, kein Watch-Mode). Kein
# --passWithNoTests mehr: ein leerer Lauf soll auffallen, nicht durchgehen.
run: pnpm test