Skip to content

Prepare for new Build Infra #747

Prepare for new Build Infra

Prepare for new Build Infra #747

name: validate-markdown
# Author: @ralfhandl based on work of @MikeRalphson
# Issue: https://github.com/OAI/Overlay-Specification/issues/53
#
# This workflow validates markdown files in the versions directory matching *.md
#
# run this on pull-requests (creation and updates) and on manual trigger
on:
pull_request: {}
workflow_dispatch: {}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7 # checkout repo content
with:
fetch-depth: 0
- uses: actions/setup-node@v7 # setup Node.js
with:
node-version: "24.x"
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
- name: Validate Markdown
run: yarn validate-markdown