mirror of
https://github.com/cfal/shoes.git
synced 2026-11-06 16:14:11 +00:00
* Validate published configuration examples * Move configuration reference into Starlight site * Check documentation site in CI * Complete optional docs dependency lock entries
30 lines
732 B
YAML
30 lines
732 B
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
site:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
|
with:
|
|
node-version-file: docs/.node-version
|
|
cache: npm
|
|
cache-dependency-path: docs/package-lock.json
|
|
- run: npm ci
|
|
working-directory: docs
|
|
- run: npm run check
|
|
working-directory: docs
|
|
env:
|
|
SHOES_DOCS_REF: ${{ github.sha }}
|