Skip to content

Docs workflow

Docs workflow #11

Workflow file for this run

name: Test docs build
on:
pull_request:
branches:
- main
jobs:
build:
name: Build docusaurus
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 22
cache: yarn
cache-dependency-path: 'userdocs/yarn.lock'
- name: Install dependencies
working-directory: ./userdocs
run: yarn install --frozen-lockfile
- name: Build website
working-directory: ./userdocs
run: yarn build