Skip to content

feat: update scrollspy and fix active links #16413

feat: update scrollspy and fix active links

feat: update scrollspy and fix active links #16413

Workflow file for this run

name: Docs
on:
push:
branches:
- main
paths:
- 'js/**'
- 'scss/**'
- 'site/**'
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
env:
FORCE_COLOR: 2
NODE: 24
permissions:
contents: read
jobs:
docs:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
steps:
- name: Clone repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "${{ env.NODE }}"
cache: npm
- run: java -version
- name: Install npm dependencies
run: npm ci
- name: Build docs
run: npm run docs-build
- name: Validate HTML
run: npm run docs-vnu
- name: Prettier Check
run: npm run docs-prettier-check
- name: Run linkinator
uses: JustinBeckwith/linkinator-action@7b6b0bc671f6264e1a8daa4488a5bd91ce61dcd4 # v2.4.2
with:
paths: _site
recurse: true
verbosity: error
skip: "^http://localhost"