From def0c2e27548affd2862e9f1f470dce94e7eaf44 Mon Sep 17 00:00:00 2001 From: KikoUK Date: Thu, 23 Mar 2023 13:56:05 +0000 Subject: [PATCH] [ACS-4922] Try using node modules http server lib --- .github/actions/run-e2e/action.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/run-e2e/action.yml b/.github/actions/run-e2e/action.yml index 078d6eb29..9992daef1 100644 --- a/.github/actions/run-e2e/action.yml +++ b/.github/actions/run-e2e/action.yml @@ -19,7 +19,7 @@ runs: shell: bash run: | ./node_modules/.bin/tsc -p "./e2e/$E2E_TSCONFIG" || exit 1; - npx http-server -c-1 $CONTENT_CE_DIST_PATH -p 4200 > /dev/null &\ + ./node_modules/.bin/http-server -c-1 $CONTENT_CE_DIST_PATH -p 4200 > /dev/null &\ if [ ${{ inputs.test-runner }} == "playwright" ]; then echo "Running playwright tests with options ${{ inputs.options }}" diff --git a/package.json b/package.json index 43b4d30d7..b68472f7c 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "@angular/compiler-cli": "14.1.2", "@angular/language-service": "14.1.2", "@cspell/eslint-plugin": "^6.30.0", - "@playwright/test": "^1.30.0", + "@playwright/test": "^1.31.2", "@types/event-emitter": "^0.3.3", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "^2.0.8",