Add cache_key
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Peter Stuifzand 2021-05-20 23:43:59 +02:00
parent 206f85700d
commit 5d3861e024

View File

@ -22,7 +22,7 @@ steps:
settings: settings:
backend: "filesystem" backend: "filesystem"
restore: true restore: true
cache_key: "volume" cache_key: '{{ .Repo.Name }}_{{ checksum "editor/package.json" }}_{{ checksum "editor/package-lock.json" }}_{{ arch }}_{{ os }}'
archive_format: "gzip" archive_format: "gzip"
mount: mount:
- './editor/node_modules' - './editor/node_modules'
@ -49,7 +49,7 @@ steps:
settings: settings:
backend: "filesystem" backend: "filesystem"
rebuild: true rebuild: true
cache_key: "volume" cache_key: '{{ .Repo.Name }}_{{ checksum "editor/package.json" }}_{{ checksum "editor/package-lock.json" }}_{{ arch }}_{{ os }}'
archive_format: "gzip" archive_format: "gzip"
mount: mount:
- './editor/node_modules' - './editor/node_modules'