miden-debug 0.8.0

An interactive debugger for Miden VM programs
Documentation
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/external/**"
      - ".github/workflows/build-docs.yml"
  pull_request:
    types: [opened, reopened, synchronize]
    paths:
      - "docs/external/**"
      - ".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@v4

      - name: Setup Node.js
        uses: actions/setup-node@v4
        with:
          node-version: "20"
          cache: "npm"
          cache-dependency-path: docs/external/package-lock.json

      - name: Install dependencies
        working-directory: ./docs/external
        run: npm ci

      - name: Build documentation
        working-directory: ./docs/external
        run: npm run build:dev