From 5ba93fb199f0c04d733ad533d083fb53142cc7fa Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Fri, 17 Jun 2022 16:43:57 +1000 Subject: [PATCH] Base cache id on examples' lock files only --- .github/workflows/examples-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/examples-ci.yml b/.github/workflows/examples-ci.yml index fba4fce3fe..a44e78da92 100644 --- a/.github/workflows/examples-ci.yml +++ b/.github/workflows/examples-ci.yml @@ -42,7 +42,7 @@ jobs: uses: actions/cache@v2 with: path: ~/.npm - key: examples-node-v1-${{ hashFiles('**/package-lock.json') }} + key: examples-node-v1-${{ hashFiles('examples/*/package-lock.json') }} - name: (npm) ${{ matrix.example }} install using npm ci if: steps.use-yarn.outputs.lockfile != 'yarn.lock'