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