Skip to content

Commit 6266ce4

Browse files
B4nanclaude
andcommitted
ci: fix release workflows for pnpm migration
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1367d94 commit 6266ce4

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/manual_release_docs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ jobs:
5252
- name: Install Python dependencies
5353
run: uv run poe install-dev
5454

55+
- name: Install pnpm and website dependencies
56+
uses: apify/workflows/pnpm-install@main
57+
with:
58+
working-directory: website
59+
5560
- name: Update docs theme
5661
run: uv run poe update-docs-theme
5762

.github/workflows/manual_version_docs.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,15 @@ jobs:
6161
- name: Install Python dependencies
6262
run: uv run poe install-dev
6363

64+
- name: Install pnpm and website dependencies
65+
uses: apify/workflows/pnpm-install@main
66+
with:
67+
working-directory: website
68+
6469
- name: Snapshot the current version
6570
id: snapshot
6671
run: |
6772
cd website
68-
corepack enable
69-
yarn install
7073
7174
# Extract version from pyproject.toml.
7275
FULL_VERSION="$(uv version --short)"
@@ -98,8 +101,8 @@ jobs:
98101
99102
# Build API reference and create Docusaurus version snapshots.
100103
bash build_api_reference.sh
101-
uv run npx docusaurus docs:version "$MAJOR_MINOR_VERSION"
102-
uv run npx docusaurus api:version "$MAJOR_MINOR_VERSION"
104+
uv run pnpm exec docusaurus docs:version "$MAJOR_MINOR_VERSION"
105+
uv run pnpm exec docusaurus api:version "$MAJOR_MINOR_VERSION"
103106
104107
- name: Commit and push versioned docs
105108
id: commit_versioned_docs

0 commit comments

Comments
 (0)