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>
This commit is contained in:
Erik Michelson 2023-02-18 15:27:49 +01:00
parent 51365bae59
commit eec3fcfe13

View file

@ -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