Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
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
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 Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ build-api-reference:
cd website && uv run ./build_api_reference.sh

build-docs:
cd website && uv run npm clean-install && uv run npm run build
cd website && corepack enable && yarn && uv run yarn build

run-docs: build-api-reference
cd website && uv run npm clean-install && uv run npm run start
cd website && corepack enable && yarn && uv run yarn start
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