From e9a2c514ddf3d185ccafd4e12c8bae206edb0dc3 Mon Sep 17 00:00:00 2001 From: Erik Michelson Date: Thu, 18 Jun 2026 22:31:00 +0200 Subject: [PATCH] fix(ci): include node version in yarn cache The dependency set may differ between node versions. This fixed caching makes it harder for version-specific deps and might introduce bugs therefore. We now include the node version in the cache key. Signed-off-by: Erik Michelson --- .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 0ae6e77a..dd546341 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 }}-yarn-master + key: ${{ runner.os }}-node${{ inputs.NODEJS_VERSION }}-yarn-master - name: Set up NodeJS uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0