mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
6d93a03bef
this pr also drops the community added action for checking broken links in mdx. It does not work well for our use case, throwing errors for local paths, plus the rest of the errors our in house solution had.
25 lines
596 B
YAML
25 lines
596 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
|