Skip to content

ci: build document on all possible target #2

ci: build document on all possible target

ci: build document on all possible target #2

Workflow file for this run

name: Build Docs
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_REMOTE_ONLY: true
jobs:
doc:
strategy:
fail-fast: false
matrix:
node-version: [20.x, 21.x, 22.x, 23.x]
os: [ubuntu-latest, macos-latest, windows-latest]
name: Build Docs on Node.js ${{ matrix.node-version }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Run Build
run: pnpx turbo run build --filter @llamaindex/doc