Skip to content

ci(high/easy): validate deployment documentation on every PR - #581

Open
umpireboulianne-design wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-523
Open

umpireboulianne-design wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-523

Conversation

@umpireboulianne-design

Copy link
Copy Markdown

Summary

Runs docs:check (scripts/check-deploy-docs.mjs) alongside the local Markdown link checker (scripts/check-links.js) and in the PR CI check suite so docs/DEPLOY.md environment variable and pnpm script references are validated on every PR.

Fixes #523
Closes #523

Changes

  • scripts/check-links.js: Invoke scripts/check-deploy-docs.mjs after local Markdown link verification succeeds (unless --links-only is passed).
  • package.json: Add "docs:test": "node --test scripts/check-deploy-docs.test.mjs" and wire check-deploy-docs.test.mjs and check-deploy-docs.mjs into the CI check suite.
  • scripts/check-deploy-docs.test.mjs: Use cross-platform fileURLToPath paths and add an automated test verifying docs:check and docs:test CI wiring.
  • docs/CI.md: Document the deployment documentation check and local commands (pnpm docs:check, pnpm docs:test, pnpm docs:check-links).

Run check-deploy-docs.mjs alongside check-links.js and in CI, add docs:test script and CI wiring assertion in check-deploy-docs.test.mjs, and document in docs/CI.md.

Fixes Sub-Rosa-Issue#523
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(high/easy): validate deployment documentation on every PR

1 participant