Skip to content

[workflow]add workflow to check link validation #2363

[workflow]add workflow to check link validation

[workflow]add workflow to check link validation #2363

Workflow file for this run

name: Contentlayer Markdown Formatting
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build contentlayer
run: pnpm contentlayer:build