diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e8d7c21..a0427049 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,6 +28,18 @@ jobs: run: | forge --version + - name: Setup Node.js environment + uses: actions/setup-node@v1 + - name: Cache npm dependencies + uses: actions/cache@v1 + with: + path: ~/.npm + key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.OS }}-npm-cache- + - name: Install npm dependencies + run: npm install + # - name: Run Forge fmt # run: | # forge fmt --check