w3c / aria-practices

WAI-ARIA Authoring Practices Guide (APG)
https://www.w3.org/wai/aria/apg/
Other
1.21k stars 346 forks source link

Infrastructure: Re-run `npm run reference-tables` and `npm run coverage-report` on source script update #3048

Closed howard-e closed 4 months ago

howard-e commented 5 months ago

Related to https://github.com/w3c/aria-practices/pull/3024#issuecomment-2189085884.

Currently, using lint-staged, the npm run reference-tables and npm run coverage-report scripts are automatically ran when a git commit happens ONLY if files matching content/patterns/**/examples/*.html have been changed.

The generating scripts have been overlooked in that automatic process so this PR adds those (scripts/coverage-report.* and scripts/reference-tables.*). This should reduce any issues with the Check examples/index.html / coverage check if only those script files have been updated in a PR.