mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-06-23 04:10:17 +00:00
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@erik.michelson.eu>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user