From 461d019e78935136a05d812d15a5a561af8b625e Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Fri, 8 Oct 2021 14:16:33 +0530 Subject: [PATCH] install remix-tests CLI deps from CI --- .circleci/config.yml | 3 ++- libs/remix-tests/tests/testRunner.cli.spec.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4d422599c2..6e613bb6c4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -51,7 +51,8 @@ jobs: - checkout - run: npm install - run: npm run build:libs - - run: npm run test:libs + - run: cd dist/libs/remix-tests && npm install + - run: cd ../../.. && npm run test:libs remix-ide-chrome-1: docker: diff --git a/libs/remix-tests/tests/testRunner.cli.spec.ts b/libs/remix-tests/tests/testRunner.cli.spec.ts index 07301c0e16..496f6f4936 100644 --- a/libs/remix-tests/tests/testRunner.cli.spec.ts +++ b/libs/remix-tests/tests/testRunner.cli.spec.ts @@ -11,7 +11,7 @@ describe('testRunner: remix-tests CLI', () => { const dirContent = result.stdout.toString() // Install dependencies if 'node_modules' is not already present if(!dirContent.includes('node_modules')) { - execSync('npm cache clean --force && npm install', { cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') }) + execSync('npm install', { cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') }) } }