Only use repo, arch and os in cache key
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Peter Stuifzand 2021-05-20 23:50:08 +02:00
parent 1fe18a69e0
commit 7b2e948b0b

View File

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