From eec3fcfe13f3d756a73a5ac44cfcbbfc17ad09a8 Mon Sep 17 00:00:00 2001
From: Erik Michelson <github@erik.michelson.eu>
Date: Sat, 18 Feb 2023 15:27:49 +0100
Subject: [PATCH] ci(caching): do not cache by node-version

As we cache the yarn cache and not the node_modules, we can safely ignore the node version in the cache key.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
---
 .github/actions/setup-node/action.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml
index 399eb0e30..a04d16022 100644
--- a/.github/actions/setup-node/action.yml
+++ b/.github/actions/setup-node/action.yml
@@ -23,7 +23,7 @@ runs:
       id: yarn-cache
       with:
         path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
-        key: ${{ runner.os }}-node${{ inputs.NODEJS_VERSION }}-yarn
+        key: ${{ runner.os }}-yarn
 
     - name: Set up NodeJS
       uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0