Skip to content

Tracking PR for v0.17.0 release #1009

Tracking PR for v0.17.0 release

Tracking PR for v0.17.0 release #1009

Workflow file for this run

name: build-docs
# Limits workflow concurrency to only the latest commit in the PR.
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
on:
push:
branches: [main, next]
paths:
- "docs/**"
- ".github/workflows/build-docs.yml"
pull_request:
types: [opened, reopened, synchronize]
paths:
- "docs/**"
- ".github/workflows/build-docs.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
build-docs:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: "20"
cache: "npm"
cache-dependency-path: docs/package-lock.json
- name: Install dependencies
working-directory: ./docs
run: npm ci
- name: Build documentation
working-directory: ./docs
run: npm run build:dev