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