From 2c6bec5b81f7fa33402d7c03ce8e085289a31db6 Mon Sep 17 00:00:00 2001 From: Ciaran Welch Date: Wed, 26 Jun 2024 08:41:20 +1000 Subject: [PATCH] chore(ghactions): Fix cache in workflow Seperated caches for each part of run, realised we were using same cache for both. --- .github/workflows/runtests.js.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/runtests.js.yml b/.github/workflows/runtests.js.yml index 3cd37ebdc..3e469df91 100644 --- a/.github/workflows/runtests.js.yml +++ b/.github/workflows/runtests.js.yml @@ -12,9 +12,9 @@ jobs: uses: actions/cache@v4 with: path: node_modules - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + key: ${{ runner.os }}-node18-${{ hashFiles('**/package-lock.json') }} restore-keys: | - ${{ runner.os }}-node- + ${{ runner.os }}-node18- - uses: actions/setup-node@v4 with: node-version: "18.13.0" @@ -74,9 +74,9 @@ jobs: uses: actions/cache@v4 with: path: node_modules - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + key: ${{ runner.os }}-node14-${{ hashFiles('**/package-lock.json') }} restore-keys: | - ${{ runner.os }}-node- + ${{ runner.os }}-node14- - name: Cache Chromedriver uses: actions/cache@v4 with: