Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/_check_code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v6
- name: Check spelling with typos
uses: crate-ci/typos@v1.42.1
uses: crate-ci/typos@v1

lint_check:
name: Lint check
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/_release_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
cache-dependency-path: website/package-lock.json
cache: yarn
cache-dependency-path: website/yarn.lock

- name: Install Node dependencies
run: |
npm install
npm update @apify/docs-theme
yarn install
yarn upgrade @apify/docs-theme
Comment thread
vdusek marked this conversation as resolved.
Outdated
working-directory: ./website

# We do this as early as possible to prevent conflicts if someone else would push something in the meantime
Expand All @@ -53,7 +53,7 @@ jobs:
git config user.name 'GitHub Actions'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add website/package.json
git add website/package-lock.json
git add website/yarn.lock
git diff-index --quiet HEAD || git commit -m 'chore: Automatic docs theme update [skip ci]' || true
git push

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ shell = "uv run ruff format --check && uv run ruff check"
shell = "uv run ruff check --fix && uv run ruff format"

[tool.poe.tasks.build-docs]
shell = "./build_api_reference.sh && npm ci && npm run build"
shell = "./build_api_reference.sh && corepack enable && yarn && uv run yarn build"
cwd = "website"

[tool.poe.tasks.run-docs]
shell = "./build_api_reference.sh && npm ci && npm run start"
shell = "./build_api_reference.sh && corepack enable && yarn && uv run yarn start"
cwd = "website"
2 changes: 2 additions & 0 deletions website/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodeLinker: node-modules
enableGlobalCache: true
Loading
Loading