Commit 461d019e authored by Aniket-Engg's avatar Aniket-Engg Committed by Aniket

install remix-tests CLI deps from CI

parent 184fdbaa
...@@ -51,7 +51,8 @@ jobs: ...@@ -51,7 +51,8 @@ jobs:
- checkout - checkout
- run: npm install - run: npm install
- run: npm run build:libs - 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: remix-ide-chrome-1:
docker: docker:
......
...@@ -11,7 +11,7 @@ describe('testRunner: remix-tests CLI', () => { ...@@ -11,7 +11,7 @@ describe('testRunner: remix-tests CLI', () => {
const dirContent = result.stdout.toString() const dirContent = result.stdout.toString()
// Install dependencies if 'node_modules' is not already present // Install dependencies if 'node_modules' is not already present
if(!dirContent.includes('node_modules')) { 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') })
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment