Skip to content

chore(deps-dev): Bump typescript from 5.9.3 to 6.0.3 #6

chore(deps-dev): Bump typescript from 5.9.3 to 6.0.3

chore(deps-dev): Bump typescript from 5.9.3 to 6.0.3 #6

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
html-validate:
name: HTML Validate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Detect HTML files
id: detect_html
run: |
set -euo pipefail
count=$(find . -type f -name "*.html" \
-not -path "./.git/*" \
-not -path "./vendor/*" | wc -l | tr -d ' ')
echo "count=$count" >> "$GITHUB_OUTPUT"
if [ "$count" -eq 0 ]; then
echo "No HTML files found. Skipping HTML validation."
fi
- name: Set up Python
if: steps.detect_html.outputs.count != '0'
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install html5validator
if: steps.detect_html.outputs.count != '0'
run: |
python -m pip install --upgrade pip
pip install html5validator
- name: Run HTML validation
if: steps.detect_html.outputs.count != '0'
run: |
html5validator \
--root . \
--match "*.html" \
--blacklist .git \
--blacklist node_modules \
--blacklist vendor
link-check:
name: Dead Link Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Detect linkable source files
id: detect_links
run: |
set -euo pipefail
count=$(find . -type f \( -name "*.html" -o -name "*.md" \) \
-not -path "./.git/*" \
-not -path "./vendor/*" | wc -l | tr -d ' ')
echo "count=$count" >> "$GITHUB_OUTPUT"
if [ "$count" -eq 0 ]; then
echo "No HTML/Markdown files found. Skipping link checks."
fi
- name: Check dead links
if: steps.detect_links.outputs.count != '0'
uses: lycheeverse/lychee-action@v2
with:
fail: true
args: >-
--verbose
--no-progress
--exclude-mail
--exclude-loopback
--exclude-path .git
--exclude-path node_modules
--exclude-path vendor
.