From 218ad867cfffc4ffc8bf1dc2901d7c712197b0f7 Mon Sep 17 00:00:00 2001 From: "Philip H." <47042125+pheiduck@users.noreply.github.com> Date: Sat, 9 Dec 2023 14:00:04 +0000 Subject: [PATCH] CI: cache package-lock.json --- .github/workflows/lint.yml | 3 +++ .github/workflows/npm-update-bot.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f07922fb..64d588f0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,6 +20,9 @@ jobs: node-version: 'current' check-latest: true cache: 'npm' + cache-dependency-path: | + package-lock.json + src/package-lock.json - name: npm run lint run: | diff --git a/.github/workflows/npm-update-bot.yml b/.github/workflows/npm-update-bot.yml index bb9d9199..b0e547ed 100644 --- a/.github/workflows/npm-update-bot.yml +++ b/.github/workflows/npm-update-bot.yml @@ -19,6 +19,9 @@ jobs: node-version: 'current' check-latest: true cache: 'npm' + cache-dependency-path: | + package-lock.json + src/package-lock.json - name: Bot 🤖 "Updating NPM Packages..." run: |