mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
94b869a974
- **Description:** Add dead link check for .mdx files. I checked the logs and found that files with .mdx suffix were not checked. https://github.com/langchain-ai/langchain/actions/runs/8409525467/job/23026924465#logs - @baskaryan, @efriis, @eyurtsev, @hwchase17.
29 lines
756 B
YAML
29 lines
756 B
YAML
name: Check Broken Links
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 13 * * *'
|
|
|
|
jobs:
|
|
check-links:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use Node.js 18.x
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18.x
|
|
cache: "yarn"
|
|
cache-dependency-path: ./docs/yarn.lock
|
|
- name: Install dependencies
|
|
run: yarn install --immutable --mode=skip-build
|
|
working-directory: ./docs
|
|
- name: Check broken links
|
|
run: yarn check-broken-links
|
|
working-directory: ./docs
|
|
- name: Check broken links for .mdx files
|
|
uses: gaurav-nelson/github-action-markdown-link-check@v1
|
|
with:
|
|
file-extension: '.mdx'
|