install remix-tests CLI deps from CI

monaco_editor
Aniket-Engg 3 years ago committed by Aniket
parent 184fdbaa21
commit 461d019e78
  1. 3
      .circleci/config.yml
  2. 2
      libs/remix-tests/tests/testRunner.cli.spec.ts

@ -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:

@ -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') })
}
}

Loading…
Cancel
Save