Skip to content

Commit a10ab8d

Browse files
ci: install typos + lychee (Tier-2 quality) (#126)
* ci: install typos + lychee (Tier-2 quality) typos (crate-ci): fast Rust-based spell-checker for source + docs lychee: broken-link checker for markdown + HTML 100% free for public repos. Both run in <1min. lychee starts with fail=false (warn-only) so first runs don't block merges if the existing markdown has broken links. Flip to fail=true after baseline is clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * ci: update package-lock.json with size-limit + @size-limit/preset-app npm ci failed in CI because lockfile was out of sync with package.json. Run npm install locally to regenerate the lock with the new devDeps. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * ci(typos): make warn-only (continue-on-error: true) Surface spelling findings without blocking CI on existing baseline. Lychee was already warn-only; this aligns typos with the same posture. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude <claude@anthropic.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ada1de0 commit a10ab8d

4 files changed

Lines changed: 1244 additions & 37 deletions

File tree

.github/workflows/lychee.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: lychee (broken links)
2+
3+
on:
4+
push:
5+
branches: [master, main]
6+
pull_request:
7+
branches: [master, main]
8+
schedule:
9+
- cron: '29 6 * * 1'
10+
11+
permissions:
12+
contents: read
13+
issues: write
14+
15+
jobs:
16+
links:
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 5
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: lycheeverse/lychee-action@v2
22+
with:
23+
args: --no-progress --max-concurrency 4 --exclude-mail './**/*.md' './**/*.html'
24+
fail: false # warn-only on first install; flip to true once baseline is clean

.github/workflows/typos.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: typos
2+
3+
on:
4+
push:
5+
branches: [master, main]
6+
pull_request:
7+
branches: [master, main]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
typos:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 3
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: crate-ci/typos@v1.30.0
19+
continue-on-error: true # warn-only — surface findings without blocking CI

0 commit comments

Comments
 (0)