From 64d58432249459243c54f5ebe471c58941a11242 Mon Sep 17 00:00:00 2001 From: andreivladbrg Date: Tue, 24 Oct 2023 01:25:44 +0300 Subject: [PATCH] ci: install node modules in coverage job --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b6d421..34d653e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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"