name: CI on: pull_request: branches: - main concurrency: group: ci-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: validate: runs-on: ubuntu-latest permissions: contents: read steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up pnpm uses: pnpm/action-setup@v4 - name: Set up Node.js uses: actions/setup-node@v4 with: node-version: 22 cache: pnpm - name: Install dependencies run: pnpm install --frozen-lockfile - name: Validate conventional commits run: pnpm commitlint --from "${{ github.event.pull_request.base.sha }}" --to "${{ github.event.pull_request.head.sha }}" --verbose - name: Typecheck Svelte package run: pnpm --filter tech-radar-editor check - name: Build workspace run: pnpm -r build