From bf722508adabad19220e9c634d86874db8ae7579 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 16 Oct 2023 19:46:14 +0200 Subject: [PATCH] use npx --- apps/remix-ide-e2e/package.json | 1 - apps/remix-ide/ci/browser_test.sh | 2 +- apps/remix-ide/ci/browser_test_plugin.sh | 2 +- apps/remix-ide/ci/browser_tests.sh | 2 +- apps/remix-ide/ci/flaky.sh | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/remix-ide-e2e/package.json b/apps/remix-ide-e2e/package.json index ecb253b0bf..5723d9714e 100644 --- a/apps/remix-ide-e2e/package.json +++ b/apps/remix-ide-e2e/package.json @@ -16,7 +16,6 @@ "tree-kill": "^1.2.2" }, "devDependencies": { - "ganache": "^7.9.1", "http-server": "^14.1.1", "nightwatch": "2.3" } diff --git a/apps/remix-ide/ci/browser_test.sh b/apps/remix-ide/ci/browser_test.sh index 2d788d8a2a..7bc595e1e7 100755 --- a/apps/remix-ide/ci/browser_test.sh +++ b/apps/remix-ide/ci/browser_test.sh @@ -7,7 +7,7 @@ set -e BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}} echo "$BUILD_ID" TEST_EXITCODE=0 -yarn run ganache & +npx ganache & npx http-server -p 9090 --cors='*' ./node_modules & yarn run serve:production & sleep 5 diff --git a/apps/remix-ide/ci/browser_test_plugin.sh b/apps/remix-ide/ci/browser_test_plugin.sh index 2669cab7e0..b0f02995a0 100755 --- a/apps/remix-ide/ci/browser_test_plugin.sh +++ b/apps/remix-ide/ci/browser_test_plugin.sh @@ -7,7 +7,7 @@ echo "$BUILD_ID" TEST_EXITCODE=0 npx http-server -p 9999 ./dist/apps/$1 & -yarn run ganache & +npx ganache & npx http-server -p 9090 --cors='*' ./node_modules & yarn run serve:production & diff --git a/apps/remix-ide/ci/browser_tests.sh b/apps/remix-ide/ci/browser_tests.sh index ee9e1d428d..d8687b26f4 100755 --- a/apps/remix-ide/ci/browser_tests.sh +++ b/apps/remix-ide/ci/browser_tests.sh @@ -15,7 +15,7 @@ BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}} echo "$BUILD_ID" TEST_EXITCODE=0 -yarn run ganache & +npx ganache & yarn run serve & setupRemixd diff --git a/apps/remix-ide/ci/flaky.sh b/apps/remix-ide/ci/flaky.sh index 536416cda3..6cc1adb557 100755 --- a/apps/remix-ide/ci/flaky.sh +++ b/apps/remix-ide/ci/flaky.sh @@ -17,7 +17,7 @@ BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}} echo "$BUILD_ID" TEST_EXITCODE=0 -yarn run ganache & +npx ganache & npx http-server -p 9090 --cors='*' ./node_modules & yarn run serve:production & sleep 5