From 21275906a9c3c0baa58a3be7c7086fd8db66e974 Mon Sep 17 00:00:00 2001 From: Wouter Spaak Date: Thu, 14 Mar 2024 13:48:41 +0100 Subject: [PATCH] Explicitly set cache dependency path --- .github/workflows/ci.yml | 1 + .github/workflows/node_release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a764d1..77c2588 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,7 @@ jobs: with: node-version: "20.x" cache: "npm" + cache-dependency-path: "./typescript/package-lock.json" - name: Build TypeScript artifacts run: | npm ci diff --git a/.github/workflows/node_release.yml b/.github/workflows/node_release.yml index 9180ffe..fcec8c9 100644 --- a/.github/workflows/node_release.yml +++ b/.github/workflows/node_release.yml @@ -17,6 +17,7 @@ jobs: node-version: "20.x" registry-url: "https://registry.npmjs.org" cache: "npm" + cache-dependency-path: "./typescript/package-lock.json" - name: Build and publish to NPM run: | npm ci