2024-03-15 00:42:22 +00:00
|
|
|
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"
|
2024-03-15 00:55:04 +00:00
|
|
|
cache-dependency-path: ./docs/yarn.lock
|
2024-03-15 00:42:22 +00:00
|
|
|
- name: Install dependencies
|
2024-03-15 00:55:04 +00:00
|
|
|
run: yarn install --immutable --mode=skip-build
|
|
|
|
working-directory: ./docs
|
2024-03-15 00:42:22 +00:00
|
|
|
- name: Check broken links
|
2024-03-15 00:55:04 +00:00
|
|
|
run: yarn check-broken-links
|
|
|
|
working-directory: ./docs
|