Skip to content

Commit b16f21c

Browse files
committed
solana: hello npm
1 parent d0ab91e commit b16f21c

File tree

5 files changed

+9
-5125
lines changed

5 files changed

+9
-5125
lines changed

.github/workflows/solana.yml

-3
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ jobs:
121121
- name: Set default Rust toolchain
122122
run: rustup default stable
123123
working-directory: ./solana
124-
- name: yarn
125-
run: yarn
126-
working-directory: ./solana
127124
- name: anchor test --arch sbf
128125
run: make anchor-test
129126
working-directory: ./solana

solana/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ target
55
**/*.rs.bk
66
node_modules
77
test-ledger
8-
.yarn

solana/Anchor.toml

-3
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ address = "worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth"
3030
program = "programs/example-native-token-transfers/tests/fixtures/mainnet_core_bridge.so"
3131

3232
[test.validator]
33-
bind_address = "0.0.0.0"
3433
url = "https://api.mainnet-beta.solana.com"
35-
ledger = ".anchor/test-ledger"
36-
rpc_port = 8899
3734
ticks_per_slot = 16
3835

3936
[[test.validator.account]]

solana/Makefile

+9-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,13 @@ target/idl/example_native_token_transfers.json:
1212
_anchor-build:
1313
@anchor build
1414

15-
anchor-test: build target/idl/example_native_token_transfers.json
15+
anchor-test: node_modules build target/idl/example_native_token_transfers.json
1616
anchor test --skip-build
17+
18+
node_modules:
19+
npm ci
20+
21+
.PHONY: clean
22+
clean:
23+
anchor clean
24+
rm -rf .anchor node_modules

0 commit comments

Comments
 (0)