43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: check-online
|
|
|
|
# Runs full external link checking on a schedule and on manual trigger.
|
|
# Kept separate from the main `check` workflow so everyday push/PR CI
|
|
# is not slowed down or broken by transient network issues.
|
|
|
|
on:
|
|
schedule:
|
|
# Every Monday at 09:00 UTC
|
|
- cron: "0 9 * * 1"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check-online:
|
|
name: check-online (ubuntu-latest)
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install shellcheck
|
|
run: sudo apt-get update -q && sudo apt-get install -y -q shellcheck
|
|
|
|
- name: Install ripgrep
|
|
run: sudo apt-get install -y -q ripgrep
|
|
|
|
- name: Install Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: "10"
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Run full quality suite with external link checking
|
|
run: pnpm run verify:docs:online
|