File tree Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 2424 - uses : actions/setup-node@v4
2525 with :
2626 node-version-file : " package.json"
27+ # Libusb is a build requirement for the node-hid package and so pnpm
28+ # install will fail if this isn't in the build environment and if a
29+ # precompiled binary isn't found.
30+ - name : Install libusb
31+ run : sudo apt install -y libusb-1.0-0-dev libudev-dev
32+ - uses : pnpm/action-setup@v4
33+ name : Install pnpm
34+ with :
35+ run_install : true
2736 - name : Install Solana Cli
2837 run : |
2938 sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
3443 run : solana-keygen new --no-bip39-passphrase
3544 - name : Install Anchor
3645 run : RUSTFLAGS= cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.1 anchor-cli
46+ - name : Run anchor tests
47+ run : pnpm run test:anchor
Original file line number Diff line number Diff line change 2121 - uses : actions/setup-node@v4
2222 with :
2323 node-version-file : " package.json"
24- - uses : actions-rust-lang/setup-rust-toolchain@v1
25- with :
26- toolchain : 1.81.0
27- - uses : Swatinem/rust-cache@v2
28- - name : Install Solana Cli
29- run : |
30- sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
31- echo "$HOME/.local/share/solana/install/active_release/bin" >> "$GITHUB_PATH"
32- - name : Set Solana Cli version
33- run : agave-install init 1.18.26
34- - name : Create Solana key
35- run : solana-keygen new --no-bip39-passphrase
36- - name : Install Anchor
37- run : RUSTFLAGS= cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.1 anchor-cli
3824 # Libusb is a build requirement for the node-hid package and so pnpm
3925 # install will fail if this isn't in the build environment and if a
4026 # precompiled binary isn't found.
Original file line number Diff line number Diff line change 33 "extends" : [" //" ],
44 "tasks" : {
55 "test" : {
6- "dependsOn" : [" test:format" , " test:anchor " ]
6+ "dependsOn" : [" test:format" ]
77 },
88 "test:anchor" : {}
99 }
You can’t perform that action at this time.
0 commit comments