mirror of
https://github.com/hwchase17/langchain.git
synced 2026-01-29 21:30:18 +00:00
29 lines
764 B
YAML
29 lines
764 B
YAML
name: '🔗 Check Broken Links'
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 13 * * *'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
check-links:
|
|
if: github.repository_owner == 'langchain-ai' || github.event_name != 'schedule'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: '🟢 Setup Node.js 18.x'
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 18.x
|
|
cache: "yarn"
|
|
cache-dependency-path: ./docs/yarn.lock
|
|
- name: '📦 Install Node Dependencies'
|
|
run: yarn install --immutable --mode=skip-build
|
|
working-directory: ./docs
|
|
- name: '🔍 Scan Documentation for Broken Links'
|
|
run: yarn check-broken-links
|
|
working-directory: ./docs
|