From d0a95cc458d9f1f449e2590164e248df374a39f4 Mon Sep 17 00:00:00 2001 From: Hugo Dias Date: Fri, 6 Nov 2020 18:23:45 +0000 Subject: [PATCH] fix: create ci cache folder inside node_modules (#84) --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 934393d0..2649e462 100644 --- a/src/utils.js +++ b/src/utils.js @@ -185,7 +185,7 @@ const getPw = async (browserName, cachePath, spinner) => { } if (process.env.CI) { - cachePath = path.join(process.cwd(), '.cache'); + cachePath = path.join(process.cwd(), 'node_modules', '.cache'); } if (!fs.existsSync(cachePath)) {