Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 450c24b

Browse files
authored
Merge pull request #467 from netlify/380-cache-cypress-bin-in-functions
Cache Cypress in ./node_modules/.cache/CypressBinary
2 parents 5159a4b + 966625c commit 450c24b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run-build-functions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,8 @@ install_dependencies() {
454454

455455
# NPM Dependencies
456456
: ${YARN_VERSION="$defaultYarnVersion"}
457+
: ${CYPRESS_CACHE_FOLDER="./node_modules/.cache/CypressBinary"}
458+
export CYPRESS_CACHE_FOLDER
457459

458460
if [ -f package.json ]
459461
then

0 commit comments

Comments
 (0)