diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd6c3ad90e1..fa0c40f3f09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -129,6 +129,14 @@ jobs: name: e2e-test-screenshots path: cypress/screenshots + - name: Stop app (in case it stays up after e2e tests) + run: | + app_pid=$(lsof -t -i:4000) + if [[ ! -z $app_pid ]]; then + echo "App was still up! (PID: $app_pid)" + kill -9 $app_pid + fi + # Start up the app with SSR enabled (run in background) - name: Start app in SSR (server-side rendering) mode run: | diff --git a/src/app/shared/mydspace-actions/mydspace-actions.ts b/src/app/shared/mydspace-actions/mydspace-actions.ts index 2ddc5990b41..9c64699ac64 100644 --- a/src/app/shared/mydspace-actions/mydspace-actions.ts +++ b/src/app/shared/mydspace-actions/mydspace-actions.ts @@ -26,7 +26,7 @@ export interface MyDSpaceActionsResult { */ @Component({ selector: 'ds-mydspace-actions-abstract', - template: '' + template: '', }) export abstract class MyDSpaceActionsComponent> {