mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-13 21:33:32 +08:00
fix: use pnpm 9 for node 18 workflow jobs
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -47,7 +47,8 @@ jobs:
|
||||
uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0
|
||||
with:
|
||||
# Keep an explicit pnpm major because this repo's packageManager is Yarn.
|
||||
version: 10
|
||||
# pnpm 10's self-installer requires newer Node runtime features than Node 18 provides.
|
||||
version: ${{ matrix.node == '18.x' && '9' || '10' }}
|
||||
|
||||
- name: Setup Yarn (via Corepack)
|
||||
if: matrix.pm == 'yarn'
|
||||
|
||||
3
.github/workflows/reusable-test.yml
vendored
3
.github/workflows/reusable-test.yml
vendored
@@ -39,7 +39,8 @@ jobs:
|
||||
uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0
|
||||
with:
|
||||
# Keep an explicit pnpm major because this repo's packageManager is Yarn.
|
||||
version: 10
|
||||
# pnpm 10's self-installer requires newer Node runtime features than Node 18 provides.
|
||||
version: ${{ inputs.node-version == '18.x' && '9' || '10' }}
|
||||
|
||||
- name: Setup Yarn (via Corepack)
|
||||
if: inputs.package-manager == 'yarn'
|
||||
|
||||
Reference in New Issue
Block a user