Files
docs/.gitea/workflows/verify.yml
T
ksv741 c0a8cdb683
Docs security / security (pull_request) Successful in 8s
Docs security / security (push) Successful in 7s
Docs verify / verify (push) Successful in 12s
ci: verify docs and secure dependency updates #1 #5 #6
2026-09-13 19:58:30 +03:00

42 lines
1.3 KiB
YAML

name: Docs verify
on:
push:
branches:
- '**'
jobs:
verify:
runs-on: ubuntu-latest
defaults:
run:
working-directory: workspace/docs
steps:
- name: Checkout workspace root
uses: https://github.com/actions/checkout@v4
with:
repository: WealthLedger/main
ref: main
path: workspace
- uses: https://github.com/actions/checkout@v4
with:
path: workspace/docs
- name: Checkout linked repositories
run: |
git clone --depth 1 --branch main https://git.personal.ksv741.ru/WealthLedger/frontend.git ../frontend
git clone --depth 1 --branch main https://git.personal.ksv741.ru/WealthLedger/backend.git ../backend
git clone --depth 1 --branch main https://git.personal.ksv741.ru/WealthLedger/specs.git ../specs
- name: Record checked revisions
run: |
git rev-parse HEAD
git -C .. rev-parse HEAD
git -C ../frontend rev-parse HEAD
git -C ../backend rev-parse HEAD
git -C ../specs rev-parse HEAD
- uses: https://github.com/actions/setup-node@v4
with:
node-version-file: workspace/docs/.nvmrc
- run: npm ci
- name: Check Markdown and relative links
run: npm run verify