Skip to content

Commit de695af

Browse files
mikemaccanaclaude
andcommitted
Fix GitHub Actions: generate Solana keypair for tests
The tests require a Solana keypair at ~/.config/solana/id.json which doesn't exist in GitHub Actions environment. Generate one before running tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6c1011b commit de695af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
3636
- run: solana --version
3737

38+
- name: Generate Solana keypair
39+
run: |
40+
mkdir -p ~/.config/solana
41+
solana-keygen new --no-bip39-passphrase --silent --outfile ~/.config/solana/id.json
42+
3843
- run: npm i
3944

4045
- run: npm test

0 commit comments

Comments
 (0)