Skip to content

Commit 9e0c226

Browse files
committed
Use pnpm/action-setup in Anchor CI instead of npm i -g pnpm
1 parent 7779d48 commit 9e0c226

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/anchor.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,18 +106,20 @@ jobs:
106106
failed_projects: ${{ steps.set-failed.outputs.failed_projects }}
107107
steps:
108108
- uses: actions/checkout@v5
109+
- uses: pnpm/action-setup@v4
110+
with:
111+
version: 10
109112
- uses: heyAyushh/setup-anchor@v4.999
110113
with:
111114
anchor-version: 0.32.1
112115
solana-cli-version: stable
113-
- name: Display Versions and Install pnpm
116+
- name: Display Versions
114117
run: |
115118
solana -V
116119
# it's okay to use --force in github action since all programs are tested in isolation
117120
solana-keygen new --no-bip39-passphrase --force
118121
rustc -V
119122
anchor -V
120-
npm i -g pnpm
121123
- name: Build and Test
122124
env:
123125
TOTAL_PROJECTS: ${{ needs.changes.outputs.total_projects }}

0 commit comments

Comments
 (0)