Skip to content

Lite docs: seven guides, a comparison with CC Switch and an FAQ #58

Lite docs: seven guides, a comparison with CC Switch and an FAQ

Lite docs: seven guides, a comparison with CC Switch and an FAQ #58

Workflow file for this run

name: Check
# Builds the site for every pull request, the same way the deploy workflow does,
# so that a change that breaks the build (a share-image headline that no longer
# fits, a page that fails to render) shows up before it reaches main.
on:
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# The sitemap's <lastmod> and the dates on doc pages come from git history.
fetch-depth: 0
# The pnpm version comes from package.json's packageManager, the same one
# a local `pnpm` switches to
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build site
run: pnpm build
env:
GITHUB_TOKEN: ${{ github.token }}