diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e3a34eaa..6f5f8f37e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,15 @@ jobs: with: node-version-file: "package.json" + - name: Restore dependencies + id: restore-dependencies + uses: actions/cache@v4 + with: + path: node_modules + key: js-depend-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} + - name: Install dependencies + if: steps.restore-dependencies.outputs.cache-hit != 'true' run: npm ci - name: Build third-party libraries