Skip to content

Commit e47193a

Browse files
committed
fix(github): add step to install NPM pkgs in workflows
1 parent bafae41 commit e47193a

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ jobs:
2020
- name: Install Foundry
2121
uses: foundry-rs/foundry-toolchain@v1
2222

23+
- name: Setup Node.js
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: "20"
27+
28+
- name: Install npm packages
29+
run: npm ci --force
30+
2331
- name: Install lcov
2432
uses: hrishikesh-kadam/setup-lcov@v1
2533

.github/workflows/test-gas.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ jobs:
2020
- name: Install Foundry
2121
uses: foundry-rs/foundry-toolchain@v1
2222

23+
- name: Setup Node.js
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: "20"
27+
28+
- name: Install npm packages
29+
run: npm ci --force
30+
2331
- name: Run Forge build
2432
run: make sizes
2533
id: build

.github/workflows/test-integration.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ jobs:
2020
- name: Install Foundry
2121
uses: foundry-rs/foundry-toolchain@v1
2222

23+
- name: Setup Node.js
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: "20"
27+
28+
- name: Install npm packages
29+
run: npm ci --force
30+
2331
- name: Run Forge integration tests
2432
env:
2533
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}

0 commit comments

Comments
 (0)