Skip to content

Commit 65bf68d

Browse files
authored
ci: install pnpm in docs release workflow (#1871)
### Description The `Doc release` workflow ([example failing run](https://github.com/apify/crawlee-python/actions/runs/25373653575/job/74404711100)) runs `uv run poe build-docs`, which shells out to `./build_api_reference.sh && pnpm install && uv run pnpm build` inside `website/`. The runner sets up Node but does not install `pnpm`, so the step fails with: ``` /usr/bin/sh: 1: pnpm: not found ##[error]Process completed with exit code 127. ``` The pnpm install step was lost when the docs release workflow was extracted in #1846. ### Changes - Add the missing `Install pnpm and website dependencies` step using `apify/workflows/pnpm-install@main`, matching the pattern already used in `manual_version_docs.yaml`.
1 parent 65e5d18 commit 65bf68d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/manual_release_docs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ jobs:
5555
- name: Install Python dependencies
5656
run: uv run poe install-dev
5757

58+
- name: Install pnpm and website dependencies
59+
uses: apify/workflows/pnpm-install@main
60+
with:
61+
working-directory: website
62+
5863
- name: Build Docusaurus docs
5964
run: uv run poe build-docs
6065
env:

0 commit comments

Comments
 (0)