From 233722d8481fe16b6a8083a9f0f084220eed27db Mon Sep 17 00:00:00 2001 From: Mamon Anaam <82681952+mamonpfmp@users.noreply.github.com> Date: Fri, 15 May 2026 17:57:34 +0300 Subject: [PATCH] Implement npm caching in action.yml Add caching for npm dependencies in GitHub Actions. --- save/action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/save/action.yml b/save/action.yml index 1b95184..39255be 100644 --- a/save/action.yml +++ b/save/action.yml @@ -21,3 +21,11 @@ runs: branding: icon: 'archive' color: 'gray-dark' + + - name: Cache + uses: actions/cache@v5.0.5 + with: + path: ~/.npm # Example: paths to cache + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} # Example key + restore-keys: | + ${{ runner.os }}-node-