lundi 30 décembre 2019

Caching Cypress on Sempahore

How is it possible to cache the Cypress binary on SempahoreCI?

Some instructions here suggest putting this in the Semaphore setup:

mkdir -p $SEMAPHORE_CACHE_DIR/Cypress
sudo ln -s $SEMAPHORE_CACHE_DIR/Cypress ~/.cache/Cypress

The setup job in Semaphore is run before every job.

Won't this recreate $SEMAPHORE_CACHE_DIR/Cypress directory for every Job?

Thus, not caching anything?

Aucun commentaire:

Enregistrer un commentaire