From 7dd0062a6ecf0c4464b91a9d97e67e735f24e3cb Mon Sep 17 00:00:00 2001 From: Hugo Dias Date: Fri, 6 Nov 2020 17:45:53 +0000 Subject: [PATCH] fix: create ci cache folder inside node_modules --- 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)) {