From 878171fb5430d414658ddbc53aa6b7b6ea64b847 Mon Sep 17 00:00:00 2001 From: lucas picollo Date: Sat, 12 Oct 2024 10:43:11 -0300 Subject: [PATCH] fix: add package-lock to CI --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3b9c5c..387e540 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,12 @@ jobs: - name: "Install Foundry" uses: "foundry-rs/foundry-toolchain@v1" + - name: Cache node_modules + uses: actions/cache@v2 + with: + path: node_modules + key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} + - name: Use Node.js 21 uses: actions/setup-node@v3 with: @@ -47,6 +53,12 @@ jobs: - name: "Install Foundry" uses: "foundry-rs/foundry-toolchain@v1" + - name: Cache node_modules + uses: actions/cache@v2 + with: + path: node_modules + key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} + - name: Use Node.js 21 uses: actions/setup-node@v3 with: @@ -74,6 +86,12 @@ jobs: - name: "Install Foundry" uses: "foundry-rs/foundry-toolchain@v1" + - name: Cache node_modules + uses: actions/cache@v2 + with: + path: node_modules + key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} + - name: Use Node.js 21 uses: actions/setup-node@v3 with: