Skip to content

Commit

Permalink
ci: install node modules in coverage job
Browse files Browse the repository at this point in the history
  • Loading branch information
andreivladbrg committed Oct 23, 2023
1 parent 8aaa796 commit 64d5843
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,20 @@ jobs:
- name: "Install Foundry"
uses: "foundry-rs/foundry-toolchain@v1"

- name: "Install Pnpm"
uses: "pnpm/action-setup@v2"
with:
version: "8"

- name: "Install Node.js"
uses: "actions/setup-node@v3"
with:
cache: "pnpm"
node-version: "lts/*"

- name: "Install the Node.js dependencies"
run: "pnpm install"

- name: "Run the tests and generate the coverage report"
run: "forge coverage --report lcov"

Expand Down

0 comments on commit 64d5843

Please sign in to comment.