File tree Expand file tree Collapse file tree 5 files changed +26
-0
lines changed Expand file tree Collapse file tree 5 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 2323 with :
2424 node-version-file : " package.json"
2525
26+ # Libusb is a build requirement for the node-hid package and so pnpm
27+ # install will fail if this isn't in the build environment and if a
28+ # precompiled binary isn't found.
29+ - name : Install libusb
30+ run : sudo apt install -y libusb-1.0-0-dev libudev-dev
31+
2632 - uses : pnpm/action-setup@v4
2733 name : Install pnpm
2834 with :
Original file line number Diff line number Diff line change 3737 run : anchor build
3838 - name : Copy anchor target files
3939 run : cp ./target/idl/message_buffer.json idl/ && cp ./target/types/message_buffer.ts idl/
40+ # Libusb is a build requirement for the node-hid package and so pnpm
41+ # install will fail if this isn't in the build environment and if a
42+ # precompiled binary isn't found.
43+ - name : Install libusb
44+ run : sudo apt install -y libusb-1.0-0-dev libudev-dev
4045 - uses : pnpm/action-setup@v4
4146 name : Install pnpm
4247 - name : Install prettier globally
Original file line number Diff line number Diff line change 2020 - uses : actions/setup-node@v4
2121 with :
2222 node-version-file : " package.json"
23+ # Libusb is a build requirement for the node-hid package and so pnpm
24+ # install will fail if this isn't in the build environment and if a
25+ # precompiled binary isn't found.
26+ - name : Install libusb
27+ run : sudo apt install -y libusb-1.0-0-dev libudev-dev
2328 - uses : pnpm/action-setup@v4
2429 name : Install pnpm
2530 with :
Original file line number Diff line number Diff line change 3333 run : solana-keygen new --no-bip39-passphrase
3434 - name : Install Anchor
3535 run : RUSTFLAGS= cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.1 anchor-cli
36+ # Libusb is a build requirement for the node-hid package and so pnpm
37+ # install will fail if this isn't in the build environment and if a
38+ # precompiled binary isn't found.
39+ - name : Install libusb
40+ run : sudo apt install -y libusb-1.0-0-dev libudev-dev
3641 - uses : pnpm/action-setup@v4
3742 name : Install pnpm
3843 with :
Original file line number Diff line number Diff line change 1313 - uses : actions/setup-node@v4
1414 with :
1515 node-version-file : " package.json"
16+ # Libusb is a build requirement for the node-hid package and so pnpm
17+ # install will fail if this isn't in the build environment and if a
18+ # precompiled binary isn't found.
19+ - name : Install libusb
20+ run : sudo apt install -y libusb-1.0-0-dev libudev-dev
1621 - uses : pnpm/action-setup@v4
1722 name : Install pnpm
1823 with :
You can’t perform that action at this time.
0 commit comments