Skip to content

Commit 3cf2dfc

Browse files
committed
update ci pipeline
1 parent 8676597 commit 3cf2dfc

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/typescript.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,29 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v4
22+
with:
23+
submodules: true
2224

2325
- uses: actions/setup-node@v4
2426
with:
2527
node-version: 22
2628

2729
- uses: oven-sh/setup-bun@v2
2830

29-
- name: Install dependencies
30-
run: bun install
31+
- name: Install contract deps
32+
working-directory: smart-contracts
33+
run: npm ci
3134

32-
- name: Check version sync
33-
run: bun run version:check
35+
- name: Compile contracts
36+
working-directory: smart-contracts
37+
run: npx hardhat compile
3438

35-
- name: Compile contracts & export ABIs
36-
run: bun run export-abi
39+
- name: Export ABIs
40+
working-directory: smart-contracts
41+
run: bash scripts/export-abi.sh
42+
43+
- name: Install workspace deps
44+
run: bun install
3745

3846
- name: Lint
3947
working-directory: packages/cli
@@ -52,7 +60,7 @@ jobs:
5260
run: bun run test:unit
5361

5462
- name: Start anvil
55-
run: bash scripts/anvil.sh
63+
run: bash helper-scripts/helper.sh run_anvil
5664

5765
- name: Integration tests
5866
working-directory: packages/cli

0 commit comments

Comments
 (0)