chore: migrate to pnpm #123
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |