File tree Expand file tree Collapse file tree 6 files changed +18312
-27075
lines changed
Expand file tree Collapse file tree 6 files changed +18312
-27075
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ jobs:
3838 uses : actions/setup-node@v6
3939 with :
4040 node-version : ${{ env.NODE_VERSION }}
41- cache : npm
42- cache-dependency-path : website/package-lock.json
41+ cache : yarn
42+ cache-dependency-path : website/yarn.lock
4343
4444 - name : Install Node dependencies
4545 run : |
46- npm install
47- npm update @apify/docs-theme
46+ yarn install
47+ yarn upgrade @apify/docs-theme
4848 working-directory : ./website
4949
5050 # We do this as early as possible to prevent conflicts if someone else would push something in the meantime
5353 git config user.name 'GitHub Actions'
5454 git config user.email 'github-actions[bot]@users.noreply.github.com'
5555 git add website/package.json
56- git add website/package-lock.json
56+ git add website/yarn.lock
5757 git diff-index --quiet HEAD || git commit -m 'chore: Automatic docs theme update [skip ci]' || true
5858 git push
5959
Original file line number Diff line number Diff line change @@ -241,9 +241,9 @@ shell = "uv run ruff format --check && uv run ruff check"
241241shell = " uv run ruff check --fix && uv run ruff format"
242242
243243[tool .poe .tasks .build-docs ]
244- shell = " ./build_api_reference.sh && npm ci && npm run build"
244+ shell = " ./build_api_reference.sh && corepack enable && yarn && uv run yarn build"
245245cwd = " website"
246246
247247[tool .poe .tasks .run-docs ]
248- shell = " ./build_api_reference.sh && npm ci && npm run start"
248+ shell = " ./build_api_reference.sh && corepack enable && yarn && uv run yarn start"
249249cwd = " website"
Original file line number Diff line number Diff line change 1+ nodeLinker : node-modules
2+ enableGlobalCache : true
You can’t perform that action at this time.
0 commit comments