From 33a304f7b70d0e220d0cd59b0713b19ab4a7473c Mon Sep 17 00:00:00 2001 From: jamesread Date: Mon, 9 Sep 2024 17:53:52 +0100 Subject: [PATCH] ci: Add cache key to build job --- .github/workflows/build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a90380e5..4dd75430 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,5 +20,8 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + cache-dependency-path: | + **/package-lock.json + - run: npm ci - run: npm run build