Skip to content

Commit 6d734fa

Browse files
committed
fix: fixes CI
1 parent daabacf commit 6d734fa

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

.github/workflows/tests.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -67,31 +67,32 @@ jobs:
6767
populate-script-tests:
6868
name: Run Populate Script Tests
6969
runs-on: ubuntu-latest
70-
defaults:
71-
run:
72-
working-directory: populate-script
7370
steps:
7471
- uses: actions/checkout@v4
7572

73+
- name: Install Foundry
74+
uses: foundry-rs/foundry-toolchain@v1
75+
with:
76+
version: stable
77+
7678
- name: Use Node.js
7779
uses: actions/setup-node@v4
7880
with:
7981
node-version: 20.x
8082
cache: "yarn"
8183

82-
- name: Install Foundry
83-
uses: foundry-rs/foundry-toolchain@v1
84-
with:
85-
version: stable
84+
- name: Install dependencies
85+
run: yarn --frozen-lockfile --network-concurrency 1
8686

87-
- name: Generate ABI
88-
run: forge compile
89-
working-directory: ${{ github.workspace }}
87+
- name: Precompile
88+
run: yarn build
9089

91-
- name: Install dependencies
92-
run: yarn --frozen-lockfile
90+
- name: Install dependencies (populate-script)
91+
working-directory: populate-script
92+
run: yarn --frozen-lockfile --network-concurrency 1
9393

94-
- name: Run tests
94+
- name: Run tests (populate-script)
95+
working-directory: populate-script
9596
run: yarn test
9697

9798
# medusa-tests:

0 commit comments

Comments
 (0)