Docusaurus is configured to throw an error on broken links (onBrokenLinks: "throw"), and our deploy.yml workflow builds the site on pushes to master. However, there is no workflow that runs a build against pull requests.
Create a new GitHub Actions workflow that runs yarn install and yarn build strictly on Pull Requests targeting the main branch. This will ensure PRs fail immediately if a broken link is introduced.
Docusaurus is configured to throw an error on broken links (onBrokenLinks: "throw"), and our deploy.yml workflow builds the site on pushes to master. However, there is no workflow that runs a build against pull requests.
Create a new GitHub Actions workflow that runs
yarn installandyarn buildstrictly on Pull Requests targeting the main branch. This will ensure PRs fail immediately if a broken link is introduced.