Skip to content

Add Vale testing workflow for pull requests #1774

Add Vale testing workflow for pull requests

Add Vale testing workflow for pull requests #1774

Workflow file for this run

name: Link checker
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Link checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
# Pinned below 11.12.0, whose self-install crashes with
# "Cannot use 'in' operator to search for 'integrity' in undefined".
# https://github.com/pnpm/action-setup/issues/276
# https://github.com/pnpm/pnpm/issues/12959
version: 11.11.0
- uses: actions/setup-node@v6
with:
node-version: 22
- name: MDX Broken Link Checker
uses: KaiSpencer/gh-action-check-broken-links@v0
with:
# Required: The base URL to check links against
# For example: /pages/foo.mdx will be checked against https://mysite.com/foo
baseUrl: 'https://nyu-its.github.io/rts-docs-dev/'