Skip to content

Commit 5c3c9e4

Browse files
committed
add solana ci workflow_dispatch
1 parent 2eb9657 commit 5c3c9e4

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Run Solana Unit Tests
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
networks-solana:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout Repository 📝
12+
uses: actions/checkout@v4
13+
14+
- name: Setup Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: "20.x"
18+
cache: "yarn"
19+
20+
- name: Install Dependencies
21+
run: yarn install --frozen-lockfile
22+
23+
- name: Build Project
24+
run: yarn build
25+
26+
- name: Set Up Starship Infrastructure
27+
id: starship-infra
28+
uses: hyperweb-io/starship-action@0.5.9
29+
with:
30+
config: networks/solana/starship/configs/config.yaml
31+
32+
- name: Run Solana Unit Tests
33+
run: cd ./networks/solana && yarn test
34+

0 commit comments

Comments
 (0)