is it possible to check cache is exist and skip fe npm ci step ?
You can use bash conditions checks for key artifacts in the cache directory before initializing some operations inside step.
E.g. perform operations that creates a cache file if it's not exists:
pipelines:
default:
- step:
caches:
- statik
script:
- if [[ ! -f ~/statik_cache/statik ]]; then touch ~/statik_cache/statik ; fi
definitions:
caches:
statik: ~/statik_cache
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.