Skip to content

Initial commit: ledger-schema SSOT library #1

Initial commit: ledger-schema SSOT library

Initial commit: ledger-schema SSOT library #1

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
checks:
name: Validate & render
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup pnpm
uses: pnpm/action-setup@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Validate templates against the canonical schema
run: pnpm validate
- name: Render markdown
run: pnpm render
- name: Fail if docs/*.md or README.md are stale (run `pnpm render`)
run: git diff --exit-code docs README.md