feat(M5): Final hardening, CI surface, and documentation closeout
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
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
|
||||
@@ -0,0 +1,48 @@
|
||||
name: check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["**"]
|
||||
pull_request:
|
||||
branches: ["**"]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
name: check (${{ matrix.os }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install shellcheck (Ubuntu)
|
||||
if: runner.os == 'Linux'
|
||||
run: sudo apt-get update -q && sudo apt-get install -y -q shellcheck
|
||||
|
||||
- name: Install shellcheck (macOS)
|
||||
if: runner.os == 'macOS'
|
||||
run: brew install shellcheck
|
||||
|
||||
- name: Install ripgrep (Ubuntu)
|
||||
if: runner.os == 'Linux'
|
||||
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 (offline link-checking)
|
||||
run: pnpm run check
|
||||
Reference in New Issue
Block a user