Skip to content

Commit eb3eaa0

Browse files
mikemaccanaclaude
andcommitted
Fix: add pnpm/action-setup before setup-node in Native and Pinocchio workflows
packageManager field in package.json causes setup-node to look for pnpm before it is installed, failing with "Unable to locate executable file: pnpm". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b72e4a5 commit eb3eaa0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/solana-native.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
failed_projects: ${{ steps.set-failed.outputs.failed_projects }}
109109
steps:
110110
- uses: actions/checkout@v5
111+
- uses: pnpm/action-setup@v4
111112
- name: Use Node.js
112113
uses: actions/setup-node@v5
113114
with:
@@ -193,8 +194,7 @@ jobs:
193194
# Make the script executable
194195
chmod +x build_and_test.sh
195196
196-
# Install pnpm
197-
npm install --global pnpm
197+
# pnpm is already installed via pnpm/action-setup
198198
- name: Setup Solana Stable
199199
uses: heyAyushh/setup-solana@v5.9
200200
with:

.github/workflows/solana-pinocchio.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
failed_projects: ${{ steps.set-failed.outputs.failed_projects }}
109109
steps:
110110
- uses: actions/checkout@v5
111+
- uses: pnpm/action-setup@v4
111112
- name: Use Node.js
112113
uses: actions/setup-node@v5
113114
with:
@@ -193,8 +194,7 @@ jobs:
193194
# Make the script executable
194195
chmod +x build_and_test.sh
195196
196-
# Install pnpm
197-
npm install --global pnpm
197+
# pnpm is already installed via pnpm/action-setup
198198
- name: Setup Solana Stable
199199
uses: heyAyushh/setup-solana@v5.9
200200
with:

0 commit comments

Comments
 (0)