Skip to content

Commit fb22640

Browse files
committed
fix(ci): pin OpenClaw workflow pnpm
1 parent 29de285 commit fb22640

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/check.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ jobs:
262262
- name: Install OpenClaw lifecycle dependencies
263263
run: |
264264
corepack enable
265+
corepack prepare "$(node -p "require('./openclaw/package.json').packageManager.split('+')[0]")" --activate
265266
pnpm --dir openclaw install --frozen-lockfile --ignore-scripts
266267
- name: Fetch main dashboard baseline
267268
if: ${{ steps.openclaw-track.outputs.track != 'latest' }}
@@ -276,7 +277,8 @@ jobs:
276277
CRABPOT_PLUGIN_TRACK: ${{ steps.openclaw-track.outputs.track == 'development' && 'source-pack' || steps.openclaw-track.outputs.track }}
277278
CRABPOT_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
278279
run: |
279-
export CRABPOT_SUMMARY_GENERATED_AT="$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
280+
CRABPOT_SUMMARY_GENERATED_AT="$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
281+
export CRABPOT_SUMMARY_GENERATED_AT
280282
node scripts/generate-report.mjs --openclaw ./openclaw
281283
node scripts/capture-contracts.mjs --openclaw ./openclaw
282284
node scripts/synthetic-probes.mjs --openclaw ./openclaw
@@ -289,11 +291,11 @@ jobs:
289291
node scripts/check-ci-policy.mjs
290292
node scripts/write-ci-summary.mjs --mode check --openclaw-label "${{ steps.openclaw-track.outputs.label }}"
291293
node scripts/update-track-metadata.mjs
292-
baseline_arg=""
294+
baseline_arg=()
293295
if [ -f .crabpot/baseline/main-dashboard-data.json ]; then
294-
baseline_arg="--baseline-data .crabpot/baseline/main-dashboard-data.json"
296+
baseline_arg=(--baseline-data .crabpot/baseline/main-dashboard-data.json)
295297
fi
296-
node scripts/update-readme-summary.mjs ${baseline_arg}
298+
node scripts/update-readme-summary.mjs "${baseline_arg[@]}"
297299
git add README.md reports/
298300
if ! git diff --cached --quiet; then
299301
git config user.name "github-actions[bot]"

.github/workflows/dependabot-auto-merge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
- name: Install OpenClaw lifecycle dependencies
9090
run: |
9191
corepack enable
92+
corepack prepare "$(node -p "require('./openclaw/package.json').packageManager.split('+')[0]")" --activate
9293
pnpm --dir openclaw install --frozen-lockfile --ignore-scripts
9394
9495
- name: Refresh compatibility reports

.github/workflows/openclaw-ref-compat.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
- name: Install OpenClaw lifecycle dependencies
109109
run: |
110110
corepack enable
111+
corepack prepare "$(node -p "require('./openclaw/package.json').packageManager.split('+')[0]")" --activate
111112
pnpm --dir openclaw install --frozen-lockfile --ignore-scripts
112113
113114
- name: Write report artifacts

0 commit comments

Comments
 (0)