ci(release): pass node pin to pnpm setup · openclaw/openclaw@b6940b5
steipete
·
2026-05-23
·
via Recent Commits to openclaw:main
File tree
actions/setup-pnpm-store-cache
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,7 @@ inputs:
|
12 | 12 | node-version: |
13 | 13 | description: Expected Node.js version already installed by actions/setup-node. |
14 | 14 | required: false |
15 | | -default: "24.x" |
| 15 | +default: "" |
16 | 16 | use-actions-cache: |
17 | 17 | description: Whether pnpm/action-setup should cache the pnpm store. |
18 | 18 | required: false |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1515,6 +1515,8 @@ jobs:
|
1515 | 1515 | |
1516 | 1516 | - name: Setup pnpm |
1517 | 1517 | uses: ./.github/actions/setup-pnpm-store-cache |
| 1518 | +with: |
| 1519 | +node-version: 24.x |
1518 | 1520 | |
1519 | 1521 | - name: Runtime versions |
1520 | 1522 | run: | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -359,6 +359,7 @@ jobs:
|
359 | 359 | - name: Setup pnpm |
360 | 360 | uses: ./workflow/.github/actions/setup-pnpm-store-cache |
361 | 361 | with: |
| 362 | +node-version: ${{ env.NODE_VERSION }} |
362 | 363 | package-manager-file: ${{ inputs.candidate_artifact_name == '' && 'source/package.json' || 'workflow/package.json' }} |
363 | 364 | lockfile-path: ${{ inputs.candidate_artifact_name == '' && 'source/pnpm-lock.yaml' || 'workflow/pnpm-lock.yaml' }} |
364 | 365 | use-actions-cache: ${{ inputs.candidate_artifact_name == '' && 'true' || 'false' }} |
@@ -546,6 +547,7 @@ jobs:
|
546 | 547 | - name: Setup pnpm |
547 | 548 | uses: ./workflow/.github/actions/setup-pnpm-store-cache |
548 | 549 | with: |
| 550 | +node-version: ${{ env.NODE_VERSION }} |
549 | 551 | package-manager-file: workflow/package.json |
550 | 552 | lockfile-path: workflow/pnpm-lock.yaml |
551 | 553 | use-actions-cache: "false" |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。