Skip to content

chore: migrate to pnpm #123

chore: migrate to pnpm

chore: migrate to pnpm #123

Workflow file for this run

name: Docs CI
on:
push:
branches:
- main
paths:
- "apps/docs/**"
- ".github/workflows/docs.yml"
pull_request:
paths:
- "apps/docs/**"
- ".github/workflows/docs.yml"
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
name: Checkout
- uses: pnpm/action-setup@v6
with:
version: 11.1.3
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
- name: Install dependencies
# `--filter docs...` limits the install to apps/docs + transitive deps.
# `--ignore-scripts` skips the root `prisma generate` postinstall (which
# needs JETSTREAM_POSTGRES_DBURI and is irrelevant to a docs build) and
# the auto-injected `node` runtime download from `devEngines.runtime`.
run: pnpm install --frozen-lockfile --filter docs... --ignore-scripts
- name: Build docs
run: pnpm --dir apps/docs build