mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:50:43 +00:00
ci: simplify docs agent node restore
This commit is contained in:
13
.github/workflows/docs-agent.yml
vendored
13
.github/workflows/docs-agent.yml
vendored
@@ -128,12 +128,15 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Restore Node environment
|
||||
- name: Restore Node 24 path
|
||||
if: steps.superseded.outputs.run_agent == 'true'
|
||||
uses: ./.github/actions/setup-node-env
|
||||
with:
|
||||
install-bun: "false"
|
||||
install-deps: "false"
|
||||
run: |
|
||||
set -euo pipefail
|
||||
export PATH="${NODE_BIN}:${PATH}"
|
||||
echo "${NODE_BIN}" >> "$GITHUB_PATH"
|
||||
node -v
|
||||
corepack enable
|
||||
pnpm -v
|
||||
|
||||
- name: Check docs
|
||||
if: steps.superseded.outputs.run_agent == 'true'
|
||||
|
||||
Reference in New Issue
Block a user